Author rhettinger
Recipients rhettinger, vinay.sajip, yurzo
Date 2019-08-02.06:57:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564729034.76.0.161503127635.issue37742@roundup.psfhosted.org>
In-reply-to
Content
It looks like the issue is that the root logger is missing from the manager's loggerDict.

A suggested fix is to change the creation of the loggerDict in the Manager class:

-       self.loggerDict = {}
+       self.loggerDict = {rootnode.name: rootnode}

This may have been omitted from the initial design to avoid reference cycles; however, with the advent of garbage collection this should no longer be an issue.  Alternatively, a weak reference could be used.
History
Date User Action Args
2019-08-02 06:57:14rhettingersetrecipients: + rhettinger, vinay.sajip, yurzo
2019-08-02 06:57:14rhettingersetmessageid: <1564729034.76.0.161503127635.issue37742@roundup.psfhosted.org>
2019-08-02 06:57:14rhettingerlinkissue37742 messages
2019-08-02 06:57:14rhettingercreate