aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-03 17:24:57 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-03 17:24:57 +0100
commit9817a326507ae8127365578adfac7a9074fe48c1 (patch)
tree3fb61821b6eda65fe6e26c53a4e0fd7bfea667a4 /core
parent67c94f50f4dfd8d3f3de0e84bafb56d37d5cdd83 (diff)
parentcb501db20ec8049ac1f95716b1ee5da94020085e (diff)
downloadprosody-9817a326507ae8127365578adfac7a9074fe48c1.tar.gz
prosody-9817a326507ae8127365578adfac7a9074fe48c1.zip
Merge with 0.4
Diffstat (limited to 'core')
-rw-r--r--core/loggingmanager.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index ea0f497d..58108a23 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -86,6 +86,9 @@ function apply_sink_rules(sink_type)
add_rule(sink_config);
sink_config.filename = nil;
end
+ elseif type(logging_config) == "string" and logging_config:match("^%*(.+)") == sink_type then
+ -- Log all levels (debug+) to this sink
+ add_rule({ levels = { min = "debug" }, to = sink_type });
end
end