removed error.log everything will go to output.log

v1.18.x
barisusakli 10 years ago
parent 20314991a4
commit f19bc2e2be

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

Loading…
Cancel
Save