diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2022-09-03 15:10:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-03 15:10:04 +0100 |
commit | c3dbbc88da38668c27231323cb6dd40813596f7f (patch) | |
tree | 795d94a9a751de6df22a25d560ca90f047f16696 /Lib/logging/config.py | |
parent | 7b163f88b6739eda69be461981cb433375984c02 (diff) | |
download | cpython-git-c3dbbc88da38668c27231323cb6dd40813596f7f.tar.gz |
[3.10] gh-90195: Unset logger disabled flag when configuring it. (GH-96530) (GH-96533)
Diffstat (limited to 'Lib/logging/config.py')
-rw-r--r-- | Lib/logging/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/logging/config.py b/Lib/logging/config.py index 3bc63b7862..5cab008f8d 100644 --- a/Lib/logging/config.py +++ b/Lib/logging/config.py @@ -794,6 +794,7 @@ class DictConfigurator(BaseConfigurator): """Configure a non-root logger from a dictionary.""" logger = logging.getLogger(name) self.common_logger_config(logger, config, incremental) + logger.disabled = False propagate = config.get('propagate', None) if propagate is not None: logger.propagate = propagate |