From fa1f50d1731545eeaab3277c92865c8a531b10f1 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Sat, 3 Sep 2011 10:29:51 -0700 Subject: [PATCH] Fixed; allow for falsy values as the configuration value of `log level` (fixes #491). --- lib/manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/manager.js b/lib/manager.js index 7f856f8afd..d974afc4c8 100644 --- a/lib/manager.js +++ b/lib/manager.js @@ -141,7 +141,7 @@ Manager.prototype.__defineGetter__('log', function () { if (this.disabled('log')) return; var logger = this.get('logger'); - logger.level = this.get('log level'); + logger.level = this.get('log level') || -1; return logger; });