diff --git a/lib/log4js.js b/lib/log4js.js index 453a62c..bd5ebda 100644 --- a/lib/log4js.js +++ b/lib/log4js.js @@ -166,7 +166,7 @@ function configureLevels(levels) { if (levels) { for (var category in levels) { if (levels.hasOwnProperty(category)) { - if(category === "all") { + if(category === ALL_CATEGORIES) { setGlobalLogLevel(levels[category]); } getLogger(category).setLevel(levels[category]);