diff --git a/lib/init.js b/lib/init.js index 855695cad..afcdca3ad 100755 --- a/lib/init.js +++ b/lib/init.js @@ -300,7 +300,7 @@ exports.init = function(config) { logLevel = config.logLevel; } - logger.setup(useColors, logLevel); + logger.setup(logLevel, useColors); // need to be registered before creating readlineInterface