# HG changeset patch # User Waqas Hussain # Date 1273142291 -18000 # Node ID 31cda82337dcdcf67ce5b932f9a63f9bd132b09b # Parent 06f7d80540653808b95890436eff17b3b9d9d2c3 loggingmanager: Enable debug level for default console logging when 'debug' mode is enabled in the config. diff -r 06f7d8054065 -r 31cda82337dc core/loggingmanager.lua --- a/core/loggingmanager.lua Wed May 05 17:21:50 2010 +0100 +++ b/core/loggingmanager.lua Thu May 06 15:38:11 2010 +0500 @@ -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") or "info" } } }; 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