summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpierreozoux <pierre@ozoux.net>2017-11-22 16:10:18 +0100
committerpierreozoux <pierre@ozoux.net>2017-11-22 16:10:18 +0100
commit7f8f6bf3dbe4348907085968cd28ec19f69b5384 (patch)
tree8d14b6c8ad366decb1e98d880dfd56d0f9e9f6de
parent4ffe9438e0db8172c4223da27d9007d17c1a0b90 (diff)
downloadwekan-7f8f6bf3dbe4348907085968cd28ec19f69b5384.tar.gz
wekan-7f8f6bf3dbe4348907085968cd28ec19f69b5384.tar.bz2
wekan-7f8f6bf3dbe4348907085968cd28ec19f69b5384.zip
Make logger enabled by default
-rw-r--r--server/logger.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/logger.js b/server/logger.js
index ae4a6338..4a32c0ef 100644
--- a/server/logger.js
+++ b/server/logger.js
@@ -5,7 +5,8 @@ Meteor.startup(() => {
//remove default logger
Winston.remove(Winston.transports.Console);
- const loggerEnable = process.env.LOGGER_ENABLE || false;
+
+ const loggerEnable = process.env.LOGGER_ENABLE || true;
if (loggerEnable) {
Winston.log('info', 'logger is enable');