tags:

views:

8

answers:

1

How can I remove / inspect / modify handlers configured for my loggers using the fileConfig() function?

For removing there is Logger.removeHandler(hdlr) method, but how do I get the handler in first place if it was configured from file?

A: 

logger.handlers contains a list with all handlers of a logger.

leoluk