diff options
author | Kim Alvefur <zash@zash.se> | 2013-03-23 04:17:39 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-03-23 04:17:39 +0100 |
commit | 2bde8103f5dba708e6e7a9b0773eba493bfefa7c (patch) | |
tree | fc52870bbca26966e739b1654dd7ff728fbbd9e0 /core/loggingmanager.lua | |
parent | bcd8f33f5be7555e0c7863b76e950bd9d156afe0 (diff) | |
parent | aa0eb8fdc87589433a1cd5d03f136fb6f32a7426 (diff) | |
download | prosody-2bde8103f5dba708e6e7a9b0773eba493bfefa7c.tar.gz prosody-2bde8103f5dba708e6e7a9b0773eba493bfefa7c.zip |
Merge 0.9->trunk
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r-- | core/loggingmanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua index c3fc83e4..c69dede8 100644 --- a/core/loggingmanager.lua +++ b/core/loggingmanager.lua @@ -146,7 +146,7 @@ function reload_logging() logger.reset(); - local debug_mode = config.get("*", "core", "debug"); + local debug_mode = config.get("*", "debug"); default_logging = { { to = "console" , levels = { min = (debug_mode and "debug") or "info" } } }; default_file_logging = { @@ -154,7 +154,7 @@ function reload_logging() }; default_timestamp = "%b %d %H:%M:%S"; - logging_config = config.get("*", "core", "log") or default_logging; + logging_config = config.get("*", "log") or default_logging; for name, sink_maker in pairs(old_sink_types) do |