소스 검색

Change log message information

Matt Coles 9 년 전
부모
커밋
aaad52ef43
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      index.js

+ 2 - 2
index.js

@@ -21,8 +21,8 @@ var accessLogStream = FileStreamRotator.getStream({
21 21
 })
22 22
 
23 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 27
 app.use(function(req, res, next) {
28 28
   res.header("Access-Control-Allow-Origin", "*");