Closed ereOn closed 11 years ago
...r to the root logger
Calling logging.debug() directly causes a logging.StreamHandler to be added to the default root logger logging.getLogger().
logging.debug()
logging.StreamHandler
logging.getLogger()
This has terrible consequences when one wants to keep control over the handlers of the root logger.
The proposed change fixes that issues while keeping the log output if needed.
Merged, and made a new release.
@g2p : Awesome, thanks.
...r to the root logger
Calling
logging.debug()
directly causes alogging.StreamHandler
to be added to the default root loggerlogging.getLogger()
.This has terrible consequences when one wants to keep control over the handlers of the root logger.
The proposed change fixes that issues while keeping the log output if needed.