diff --git a/lib/logger.js b/lib/logger.js index 8f53dc1..783cff8 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -16,6 +16,8 @@ if (config.get('bunyan') || config.get(env + ':use_bunyan')) { for (var i = 0; i < settings.streams.length; i++) { if (settings.streams[i].stream === 'process.stdout') { settings.streams[i].stream = process.stdout; + } else if (settings.streams[i].stream === 'process.stderr') { + settings.streams[i].stream = process.stderr; } }