projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e2602
)
core.loggingmanager: Don't create file log rules from [level] = "*sink" style config
author
Kim Alvefur
<zash@zash.se>
Thu, 27 Dec 2012 19:44:58 +0000
(20:44 +0100)
committer
Kim Alvefur
<zash@zash.se>
Thu, 27 Dec 2012 19:44:58 +0000
(20:44 +0100)
core/loggingmanager.lua
patch
|
blob
|
history
diff --git
a/core/loggingmanager.lua
b/core/loggingmanager.lua
index ce25b0e85126f584ff7756ac0c49d36e0fef3e11..c3fc83e444998b7feff05fffc5d711949d841597 100644
(file)
--- 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;