diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-04-07 17:41:35 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-04-07 17:41:35 +0100 |
commit | e0b8ae73c0c3d432aafa5a94b256442e55395ad5 (patch) | |
tree | eafc01f05dc80345cf51525aadd139ccb4bb0d96 | |
parent | 474f0d46466077959d3cff8ed4f51bebdda835db (diff) | |
download | prosody-e0b8ae73c0c3d432aafa5a94b256442e55395ad5.tar.gz prosody-e0b8ae73c0c3d432aafa5a94b256442e55395ad5.zip |
loggingmanager: Observe 'debug' config setting for console logging too
-rw-r--r-- | core/loggingmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua index b329bf11..b34d0413 100644 --- a/core/loggingmanager.lua +++ b/core/loggingmanager.lua @@ -33,7 +33,7 @@ _G.log = logger.init("general"); module "loggingmanager" -- The log config used if none specified in the config file -local default_logging = { { to = "console" } }; +local default_logging = { { to = "console" , levels = { min = (debug_mode and "debug" ) } }; local default_file_logging = { { to = "file", levels = { min = (debug_mode and "debug") or "info" }, timestamps = true } }; local default_timestamp = "%b %d %H:%M:%S"; -- The actual config loggingmanager is using |