Browse Source

disable log during tests

activeAddress
Ivan Socolsky 10 years ago
parent
commit
9e5a3485ce
  1. 2
      lib/expressapp.js

2
lib/expressapp.js

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

Loading…
Cancel
Save