Skip to content

Commit c5a73db

Browse files
Merge branch 'develop' of github.com:topcoder-platform/submissions-api into develop
2 parents e4db230 + 2374b05 commit c5a73db

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)