Browse Source

Change log message information

Matt Coles 9 years ago
parent
commit
aaad52ef43
1 changed files with 2 additions and 2 deletions
  1. 2 2
      index.js

+ 2 - 2
index.js

21
 })
21
 })
22
 
22
 
23
 // setup the logger
23
 // setup the logger
24
-app.use(morgan('combined', {stream: accessLogStream}))
25
-app.use(morgan('combined'));
24
+app.use(morgan('short', {stream: accessLogStream}))
25
+app.use(morgan('short'));
26
 
26
 
27
 app.use(function(req, res, next) {
27
 app.use(function(req, res, next) {
28
   res.header("Access-Control-Allow-Origin", "*");
28
   res.header("Access-Control-Allow-Origin", "*");