Skip to content

Node.js based forum software built for the modern web

removed error.log everything will go to output.log

barisusaklif19bc2e2becc
diff --git a/app.js b/app.js
index 0a9a06f590..9147c51be5 100644
--- a/app.js
+++ b/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
diff --git a/package.json b/package.json
index b446e7b535..8601145a01 100644
--- a/package.json
+++ b/package.json
@@ -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": {