Logger set to fatal on test environment
This commit is contained in:
parent
e401c01d78
commit
e1d0ffc7dd
@ -4,7 +4,7 @@ var bunyan = require('bunyan');
|
||||
|
||||
function BatchLogger (path) {
|
||||
var stream = {
|
||||
level: 'info'
|
||||
level: process.env.NODE_ENV === 'test' ? 'fatal' : 'info'
|
||||
};
|
||||
if (path) {
|
||||
stream.path = path;
|
||||
|
Loading…
Reference in New Issue
Block a user