Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed log format

  • Loading branch information...
commit 33a0ed2fb44278d37ed5d23bb16d8d745f69056e 1 parent 69cfd44
Ghislain Seguin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  server.js
2  server.js
View
@@ -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());
Please sign in to comment.
Something went wrong with that request. Please try again.