[ python-Bugs-1614460 ] python-logging compatability with Zope.

SourceForge.net noreply at sourceforge.net
Fri Dec 15 09:06:13 CET 2006


Bugs item #1614460, was opened at 2006-12-13 03:02
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1614460&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Simon Hookway (shookway)
>Assigned to: Vinay Sajip (vsajip)
Summary: python-logging compatability with Zope.

Initial Comment:
I'm using Zope2.8.x and python2.4.

On shutdown removing the handlers causes a KeyError because the new _handlersList is not correctly updated and thus has a now non-existant handler in it.

This double list/dict thing is a little cumbersome. I'm not sure either why it's a dict but i have replaced it with an OrderedDict so that old 2.3 logging behaviour works without modification.

See the included patch.

----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2006-12-15 08:06

Message:
Logged In: YES 
user_id=849994
Originator: NO

I believe this was fixed in 2.5, but I could be mistaken.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1614460&group_id=5470


More information about the Python-bugs-list mailing list