diff options
Diffstat (limited to 'Lib/logging/config.py')
-rw-r--r-- | Lib/logging/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py index e3c9324..37729d8 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -260,8 +260,8 @@ def _install_loggers(cp, handlers, disable_existing_loggers): logger.level = logging.NOTSET logger.handlers = [] logger.propagate = 1 - elif disable_existing_loggers: - logger.disabled = 1 + else: + logger.disabled = disable_existing_loggers |