[Python-checkins] r53384 - python/branches/release24-maint/Lib/logging/config.py
vinay.sajip
python-checkins at python.org
Thu Jan 11 21:26:06 CET 2007
Author: vinay.sajip
Date: Thu Jan 11 21:26:05 2007
New Revision: 53384
Modified:
python/branches/release24-maint/Lib/logging/config.py
Log:
Fixed bug in fileConfig where _handlerList was not being cleared. (SF #1632328)
Modified: python/branches/release24-maint/Lib/logging/config.py
==============================================================================
--- python/branches/release24-maint/Lib/logging/config.py (original)
+++ python/branches/release24-maint/Lib/logging/config.py Thu Jan 11 21:26:05 2007
@@ -97,6 +97,7 @@
try:
#first, lose the existing handlers...
logging._handlers.clear()
+ del logging._handlerList[:]
#now set up the new ones...
hlist = cp.get("handlers", "keys")
if len(hlist):
More information about the Python-checkins
mailing list