@@ -1,5 +1,7 @@
module.exports = {
NODE_ENV: 'production',
+ // FORMAT_NODE_LOG: false,
+
// settings for 'visionmedia/debug'
// see also './logger/config.prod.js'
DEBUG: [
@@ -1,6 +1,10 @@
let stream = undefined;
-// do nothing
-// output JSON to stdout
+const isFormat = !(process.env.FORMAT_NODE_LOG === 'false');
+if (isFormat) {
+ const bunyanFormat = require('bunyan-format');
+ stream = bunyanFormat({ outputMode: 'long' });
+}
module.exports = stream;