commit | bb2dad8915a864503e3f81657f41500f0a49d987 | [log] [tgz] |
---|---|---|
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Sat Mar 23 11:18:10 2013 +0000 |
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Sat Mar 23 11:18:10 2013 +0000 |
tree | 8a8448f1f7ff18d8a65d0f5bc866b0766d621e38 | |
parent | 0e29f22855a1ed92b12e5bf700af19ddf34c21c8 [diff] [blame] |
Issue #17521: Corrected non-enabling of logger following two calls to fileConfig().
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 @@ logger.level = logging.NOTSET logger.handlers = [] logger.propagate = 1 - elif disable_existing_loggers: - logger.disabled = 1 + else: + logger.disabled = disable_existing_loggers