We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e4db230 + 2374b05 commit c5a73dbCopy full SHA for c5a73db
src/common/logger.js
@@ -10,7 +10,7 @@ const config = require('config')
10
const getParams = require('get-parameter-names')
11
12
const transports = []
13
-if (!config.DISABLE_LOGGING) {
+if (!JSON.parse(config.DISABLE_LOGGING)) {
14
transports.push(new (winston.transports.Console)({ level: config.LOG_LEVEL }))
15
}
16
const logger = new (winston.Logger)({ transports })
0 commit comments