diff options
author | Kim Alvefur <zash@zash.se> | 2012-12-28 03:03:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-12-28 03:03:56 +0100 |
commit | 7e132a4e4847c0dc7657970d57a57943319edc3d (patch) | |
tree | 6c2fa5bbe83ff58fbbb27b3a36ded5f256e8b3dc | |
parent | 2fcee0e7f8872fd4357ed15e7c34cc327ec99ae1 (diff) | |
parent | 39af0e5f379484ad67144495fc8dfd351693d8f4 (diff) | |
download | prosody-7e132a4e4847c0dc7657970d57a57943319edc3d.tar.gz prosody-7e132a4e4847c0dc7657970d57a57943319edc3d.zip |
Merge 0.9->trunk
-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; |