const fs = require('fs');
const winston = require('winston');
const {createLogger, format, transports} = winston;

const logger = createLogger({
  level: process.env.LOG_LEVEL || 'debug',
  format: format.combine(
      format.timestamp(),
      format.simple(),
  ),
  transports: [
    new transports.Console({
      format: format.combine(
          format.timestamp(),
          format.colorize(),
          format.simple(),
      ),
    }),
    new transports.Stream({
      stream: fs.createWriteStream('./omnium.log'),
    }),
  ],
});

module.exports = logger;


@@ -177,13 +177,12 @@
 %7C%7C '
-debug
+info
 ',%0A 

Revert to 'info' as default log level