aboutsummaryrefslogtreecommitdiffstats
path: root/core/loggingmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-12-28 03:03:56 +0100
committerKim Alvefur <zash@zash.se>2012-12-28 03:03:56 +0100
commit7e132a4e4847c0dc7657970d57a57943319edc3d (patch)
tree6c2fa5bbe83ff58fbbb27b3a36ded5f256e8b3dc /core/loggingmanager.lua
parent2fcee0e7f8872fd4357ed15e7c34cc327ec99ae1 (diff)
parent39af0e5f379484ad67144495fc8dfd351693d8f4 (diff)
downloadprosody-7e132a4e4847c0dc7657970d57a57943319edc3d.tar.gz
prosody-7e132a4e4847c0dc7657970d57a57943319edc3d.zip
Merge 0.9->trunk
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r--core/loggingmanager.lua2
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;