diff options
author | Kim Alvefur <zash@zash.se> | 2012-12-27 20:44:58 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-12-27 20:44:58 +0100 |
commit | 39af0e5f379484ad67144495fc8dfd351693d8f4 (patch) | |
tree | 6c2fa5bbe83ff58fbbb27b3a36ded5f256e8b3dc /core | |
parent | ea67b3cd4ab3813c3d0c2bb368dccd644a2a9a26 (diff) | |
download | prosody-39af0e5f379484ad67144495fc8dfd351693d8f4.tar.gz prosody-39af0e5f379484ad67144495fc8dfd351693d8f4.zip |
core.loggingmanager: Don't create file log rules from [level] = "*sink" style config
Diffstat (limited to 'core')
-rw-r--r-- | core/loggingmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua index ce25b0e8..c3fc83e4 100644 --- a/core/loggingmanager.lua +++ b/core/loggingmanager.lua @@ -67,7 +67,7 @@ function apply_sink_rules(sink_type) for _, level in ipairs(logging_levels) do if type(logging_config[level]) == "string" then local value = logging_config[level]; - if sink_type == "file" then + if sink_type == "file" and not value:match("^%*") then add_rule({ to = sink_type; filename = value; |