[issue3136] [PATCH] logging.config.fileConfig() compulsivly disable all existing loggers
Vinay Sajip
report at bugs.python.org
Thu Jun 19 09:59:53 CEST 2008
Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:
Without the patch, but simply moving the fileConfig() call to above
where the loggers are initialised, the output is the same as your
patched sample, viz.
logger:DEBUG: log debug
logger:INFO: log info
logger:WARNING: log warning
logger:ERROR: log error
logger:CRITICAL: log critical
logger.sublogger:DEBUG: sublog debug
logger.sublogger:INFO: sublog info
logger.sublogger:WARNING: sublog warning
logger.sublogger:ERROR: sublog error
logger.sublogger:CRITICAL: sublog critical
See
http://pastebin.lugmen.org.ar/4208
----------
resolution: -> invalid
status: open -> pending
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3136>
_______________________________________
More information about the Python-bugs-list
mailing list