diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-05-03 17:24:57 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-05-03 17:24:57 +0100 |
commit | 9817a326507ae8127365578adfac7a9074fe48c1 (patch) | |
tree | 3fb61821b6eda65fe6e26c53a4e0fd7bfea667a4 /core | |
parent | 67c94f50f4dfd8d3f3de0e84bafb56d37d5cdd83 (diff) | |
parent | cb501db20ec8049ac1f95716b1ee5da94020085e (diff) | |
download | prosody-9817a326507ae8127365578adfac7a9074fe48c1.tar.gz prosody-9817a326507ae8127365578adfac7a9074fe48c1.zip |
Merge with 0.4
Diffstat (limited to 'core')
-rw-r--r-- | core/loggingmanager.lua | 3 |
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 |