Software /
code /
prosody
Diff
core/loggingmanager.lua @ 5273:746f07d280e2
Merge 0.9->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Dec 2012 03:03:56 +0100 |
parent | 5272:1e555909f23d |
child | 5377:898454038524 |
line wrap: on
line diff
--- a/core/loggingmanager.lua Wed Dec 26 20:35:40 2012 +0100 +++ b/core/loggingmanager.lua Fri Dec 28 03:03:56 2012 +0100 @@ -67,7 +67,7 @@ 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;