aboutsummaryrefslogtreecommitdiffstats
path: root/core/loggingmanager.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-03-23 02:33:15 +0100
committerKim Alvefur <zash@zash.se>2013-03-23 02:33:15 +0100
commit1acfdf5914a91071da52f2203dce90ec3c30d5ba (patch)
treeecc07df37df1db9a79a86f936ed683a9654861f4 /core/loggingmanager.lua
parent974917a5a22e27441c086474be2672b3ba1fa3af (diff)
downloadprosody-1acfdf5914a91071da52f2203dce90ec3c30d5ba.tar.gz
prosody-1acfdf5914a91071da52f2203dce90ec3c30d5ba.zip
core.*: Complete removal of all traces of the "core" section and section-related code.
Diffstat (limited to 'core/loggingmanager.lua')
-rw-r--r--core/loggingmanager.lua4
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