@ -38,12 +38,8 @@ global.env = process.env.NODE_ENV || 'production';
winston.remove(winston.transports.Console);
winston.add(winston.transports.Console, {
colorize: true,
timestamp: true
});
winston.add(winston.transports.File, {
filename: 'logs/error.log',
level: 'error'
timestamp: true,
level: 'info'
// TODO: remove once https://github.com/flatiron/winston/issues/280 is fixed
@ -60,7 +60,7 @@
"uglify-js": "git+https://github.com/julianlam/UglifyJS2.git",
"underscore": "~1.7.0",
"validator": "~3.21.0",
"winston": "^0.8.0",
"winston": "^0.8.1",
"xregexp": "~2.0.0"
},
"devDependencies": {