diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-05-26 17:37:18 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-05-26 18:11:35 +0200 |
commit | df9e9c861631274e3b6ba936cd7dae249e0003ea (patch) | |
tree | 2f338bfb9de8d4fb7782c822664f167d1b9adfce | |
parent | d37fe2a83897569a18dfb45809143c152c497e95 (diff) |
Use dev logger instaid of common logger
Nginx has the full log, so we don't need to use a common logger here.
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ app.use(compression()) app.set('views', path.join(__dirname, 'views')) app.set('view engine', 'jade') -app.use(logger('common')) +app.use(logger('dev')) app.use(bodyParser.json()) app.use(bodyParser.urlencoded({ extended: false })) app.use(cookieParser()) |