Software /
code /
prosody
Changeset
2963:abd1a30330e0
loggingmanager: Observe 'debug' config setting for console logging too
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 07 Apr 2010 17:41:35 +0100 |
parents | 2962:0caed31a7306 |
children | 2965:0fe9cfaeaed7 |
files | core/loggingmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/loggingmanager.lua Sat Apr 03 23:09:59 2010 +0100 +++ b/core/loggingmanager.lua Wed Apr 07 17:41:35 2010 +0100 @@ -33,7 +33,7 @@ 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