projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6f3ba
)
loggingmanager: Iterate over logging config rules using ipairs rather than pairs
author
Matthew Wild
<mwild1@gmail.com>
Sun, 13 Feb 2011 18:35:39 +0000
(18:35 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Sun, 13 Feb 2011 18:35:39 +0000
(18:35 +0000)
core/loggingmanager.lua
patch
|
blob
|
history
diff --git
a/core/loggingmanager.lua
b/core/loggingmanager.lua
index b637058c50aceb434bfa306b4a2bdc004316e5f5..be76681dd8ba217f1d218c33287cb37762897ec4 100644
(file)
--- a/
core/loggingmanager.lua
+++ b/
core/loggingmanager.lua
@@
-101,7
+101,7
@@
function apply_sink_rules(sink_type)
end
end
- for _, sink_config in pairs(logging_config) do
+ for _, sink_config in
i
pairs(logging_config) do
if (type(sink_config) == "table" and sink_config.to == sink_type) then
add_rule(sink_config);
elseif (type(sink_config) == "string" and sink_config:match("^%*(.+)") == sink_type) then