aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-11-22 17:56:52 +0000
committerMatthew Wild <mwild1@gmail.com>2011-11-22 17:56:52 +0000
commita6418c6df20dd9ad4c906c5ee7ef318f2c4219c2 (patch)
tree1adc11a3ce6686f33f53572a7574ab1f2384dc6f
parent56975d6c639e95c6cb489768ebb065425a6bee7b (diff)
downloadprosody-a6418c6df20dd9ad4c906c5ee7ef318f2c4219c2.tar.gz
prosody-a6418c6df20dd9ad4c906c5ee7ef318f2c4219c2.zip
loggingmanager: Remove unused 'critical' level
-rw-r--r--core/loggingmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index 88f2bbbf..426425c1 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -41,7 +41,7 @@ local logging_config;
local apply_sink_rules;
local log_sink_types = setmetatable({}, { __newindex = function (t, k, v) rawset(t, k, v); apply_sink_rules(k); end; });
local get_levels;
-local logging_levels = { "debug", "info", "warn", "error", "critical" }
+local logging_levels = { "debug", "info", "warn", "error" }
-- Put a rule into action. Requires that the sink type has already been registered.
-- This function is called automatically when a new sink type is added [see apply_sink_rules()]