diff --git a/lib/logger/node.js b/lib/logger/node.js index 5b56fdb06..ff63c2560 100644 --- a/lib/logger/node.js +++ b/lib/logger/node.js @@ -80,10 +80,7 @@ function Logger(options) { const transports = 'STDOUT' == filePath.toUpperCase() ? [ new (winston.transports.Console)() ] - : [ - new (winston.transports.Console)(), - new (winston.transports.File)({filename: filePath}) - ]; + : [ new (winston.transports.File)({filename: filePath}) ]; winstonLogger = new winston.createLogger( { transports: transports,