New submission from Grazfather x: logging.config.FileConfig has a kwarg 'disable_existing_loggers' that defaults to False, but when true will allow you to load a config and not disable all other existing loggers.
logging.config.listen uses FileConfig, but has no option to provide this keyword to it, which is a problem when a logger hierarchy is build using logger.getLogger(__name__) (which is recommended in the documentation). Proposal: Add kwarg 'disable_existing_loggers' to logging.config.listen which is passed to fileConfig. ---------- components: Library (Lib) messages: 261526 nosy: Grazfather x priority: normal severity: normal status: open title: logging.config does not allow disable_existing_loggers=True type: enhancement versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26533> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com