diff --git a/lib/loglevel.js b/lib/loglevel.js index 4429177..469069e 100644 --- a/lib/loglevel.js +++ b/lib/loglevel.js @@ -305,9 +305,6 @@ inheritedLevel = normalizeLevel( defaultLogger ? defaultLogger.getLevel() : "WARN" ); - if (defaultLevel != null) { - defaultLevel = normalizeLevel(defaultLevel); - } var initialLevel = getPersistedLevel(); if (initialLevel != null) { userLevel = normalizeLevel(initialLevel);