Browse files

Changed log format

  • Loading branch information...
1 parent 69cfd44 commit 33a0ed2fb44278d37ed5d23bb16d8d745f69056e @gseguin committed Jun 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 server.js
View
2 server.js
@@ -30,7 +30,7 @@ app.configure('development', function(){
});
app.configure('production', function(){
- app.use( express.logger( { format: ':remote-addr [:date] - :req[host] - :status ":method :url :http-version" - ":referrer" - ":user-agent"' } ) );
+ app.use( express.logger( { format: '[:date] - :status ":method :url" - :response-time ms' } ) );
});
app.use(express.bodyParser());

0 comments on commit 33a0ed2

Please sign in to comment.