diff --git a/lib/core.js b/lib/core.js index c360d1637..47f50e969 100644 --- a/lib/core.js +++ b/lib/core.js @@ -187,13 +187,13 @@ function Core(options) { const additionalLogToConsole = options.additionalLogToConsole; if (logLevel != null || logFilePath) { - Logger.getInstance().info('Configuring logger with level: %s, filePath: %s, additionalLogToConsole: %s', logLevel, logFilePath, additionalLogToConsole); Logger.getInstance().configure( { level: logLevel, filePath: logFilePath, additionalLogToConsole: additionalLogToConsole }); + Logger.getInstance().info('Configuring logger with level: %s, filePath: %s, additionalLogToConsole: %s', logLevel, logFilePath, additionalLogToConsole); } const insecureConnect = options.insecureConnect;