mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
removed error.log everything will go to output.log
This commit is contained in:
8
app.js
8
app.js
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user