Re: dynamically getting loggers

2008-08-14 Thread Gabriel Genellina
En Thu, 14 Aug 2008 18:29:41 -0300, belred <[EMAIL PROTECTED]> escribi�: is there a way to dynamically get all the active loggers? i currently have code like this in different areas of the program: import logging log = logging.getLogger('foo') i would like to write a function that dynamicall

dynamically getting loggers

2008-08-14 Thread belred
is there a way to dynamically get all the active loggers? i currently have code like this in different areas of the program: import logging log = logging.getLogger('foo') i would like to write a function that dynamically get a list of all the logger names such as 'foo'. or get a list of the lo