Change prod logging format
parent
a0e07b4322
commit
dd31c355cf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue