|
@ -53,6 +53,8 @@ ExpressApp.start = function(opts) { |
|
|
//var accessLogStream = fs.createWriteStream(__dirname + '/access.log', {flags: 'a'})
|
|
|
//var accessLogStream = fs.createWriteStream(__dirname + '/access.log', {flags: 'a'})
|
|
|
//app.use(morgan('combined', {stream: accessLogStream}))
|
|
|
//app.use(morgan('combined', {stream: accessLogStream}))
|
|
|
app.use(require('morgan')('dev')); |
|
|
app.use(require('morgan')('dev')); |
|
|
|
|
|
} else { |
|
|
|
|
|
log.level = 'silent'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|