# HG changeset patch # User Matthew Wild # Date 1270658495 -3600 # Node ID abd1a30330e018034c8b00c6821359152da5d225 # Parent 0caed31a7306f057dbc7bf3c6a07fc220c24f84b loggingmanager: Observe 'debug' config setting for console logging too diff -r 0caed31a7306 -r abd1a30330e0 core/loggingmanager.lua --- 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