Change prod logging format

pull/1/head
Florian Hartwich 2017-07-16 14:16:24 +02:00
parent a0e07b4322
commit dd31c355cf
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ if (process.env.NODE_ENV === config.dev.env) {
app.use(requestLogger('dev'));
} else if (process.env.NODE_ENV !== config.test.env) {
// production logging, apache style
app.use(requestLogger(':date[iso] :remote-addr :method :url :status :response-time ms'));
app.use(requestLogger(':date[clf] :method :url :response-time ms :status'));
}
app.use(urls.auth, authenticateRouter);