aboutsummaryrefslogtreecommitdiffstats
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
commitd93a83513252cd7e5e9d561aeac81ed425caf650 (patch)
tree6c2fa5bbe83ff58fbbb27b3a36ded5f256e8b3dc
parent299b8c459dcb702a672496a403376125bd501142 (diff)
parentc141ffdbf604abb6536ff200ac21c7499fb69731 (diff)
downloadprosody-d93a83513252cd7e5e9d561aeac81ed425caf650.tar.gz
prosody-d93a83513252cd7e5e9d561aeac81ed425caf650.zip
Merge 0.9->trunk
-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;