From 6ae01b2b84a2f08667a9e5456b8aee45754b948e Mon Sep 17 00:00:00 2001 From: Rolf Koenders Date: Thu, 23 Jan 2014 10:34:56 +0100 Subject: [PATCH] Update log4js.js Overlooked that there was already a var with '[all]'. --- lib/log4js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);