aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-05-26 17:37:18 +0200
committerNoah Loomans <noahloomans@gmail.com>2017-05-26 18:11:35 +0200
commitdf9e9c861631274e3b6ba936cd7dae249e0003ea (patch)
tree2f338bfb9de8d4fb7782c822664f167d1b9adfce
parentd37fe2a83897569a18dfb45809143c152c497e95 (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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index f55d563..4461152 100644
--- a/app.js
+++ b/app.js
@@ -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())