Skip to content

Commit 2374b05

Browse files
author
Sachin Maheshwari
committed
fixing logging issue
1 parent a7c441f commit 2374b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/logger.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const config = require('config')
1010
const getParams = require('get-parameter-names')
1111

1212
const transports = []
13-
if (!config.DISABLE_LOGGING) {
13+
if (!JSON.parse(config.DISABLE_LOGGING)) {
1414
transports.push(new (winston.transports.Console)({ level: config.LOG_LEVEL }))
1515
}
1616
const logger = new (winston.Logger)({ transports })

0 commit comments

Comments
 (0)