[New-bugs-announce] [issue29143] Logger should ignore propagate property for disabled handlers.
report at bugs.python.org
Tue Jan 3 12:49:34 EST 2017
New submission from Oleg Serov:
Looks like if I have a logger handler with propagate = False and it is disabled, the "propagate" is still in affect.
I am considering this is a bug, because:
1. I have some random logging configuration with some logging handlers that have "propagate = True"
2. I am setting a new logging configuration by using logging.config.dictConfig with "disable_existing_loggers = True"
3. After that I still "feel" the effect of old config, because some log messages do not reach my new loggers.
What I am doing wrong? Or this is a bug? A bug in documentation?
components: Library (Lib)
nosy: Oleg Serov
title: Logger should ignore propagate property for disabled handlers.
versions: Python 2.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce