better sql-api logging

This commit is contained in:
Simon Tokumine 2011-12-13 23:59:00 +00:00
parent 807dbce04c
commit 54a7aee5e5

View File

@ -16,7 +16,7 @@
var express= require('express')
, app = express.createServer(
express.logger({buffer:true,
format:'[:req[X-Real-IP]>:req[Host]@:date] \033[90m:method\033[0m \033[36m:url\033[0m \033[90m:status :response-time ms -> :res[Content-Type]\033[0m'}))
format:'[:req[X-Real-IP] > :req[Host] @ :date] \033[90m:method\033[0m \033[36m:url\033[0m \033[90m:status :response-time ms -> :res[Content-Type]\033[0m'}))
, Step = require('step')
, Meta = require(global.settings.app_root + '/app/models/metadata')
, oAuth = require(global.settings.app_root + '/app/models/oauth')