From 00bec44720a59f0bad2f3660ee32107e2717af39 Mon Sep 17 00:00:00 2001 From: Simon Tokumine Date: Tue, 13 Dec 2011 10:18:37 +0000 Subject: [PATCH] add host to log --- app/controllers/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/app.js b/app/controllers/app.js index 10dc1cab..79423b7a 100755 --- a/app/controllers/app.js +++ b/app/controllers/app.js @@ -16,7 +16,7 @@ var express= require('express') , app = express.createServer( express.logger({buffer:true, - format:'[:req[X-Real-IP] - :req[http_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')