Author socketpair
Recipients socketpair, vinay.sajip
Date 2011-04-29.18:38:59
SpamBayes Score 2.68604e-09
Marked as misclassified No
Message-id <1304102340.07.0.213374923333.issue11950@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not YUM developer, I'm very sad user of YUM API. Also, I'm novice in python logging complex system.

1. There is no way to remove logger once it added via getLogger(). why?
2. When yum should close handlers? In destructor (cleanup function) of module?
3. Why this code does not close log files?
----------------
def test():
    import yum
    # work with yum

test()
gc.collect() # to sure that nothing have extra references.
# yum logs still alive in spite of that yum module (and imported logging module) 'is unloaded'
-----------------
3. Also, logger.handlers is not documented...it's definitely the bug as I think.
History
Date User Action Args
2011-04-29 18:39:00socketpairsetrecipients: + socketpair, vinay.sajip
2011-04-29 18:39:00socketpairsetmessageid: <1304102340.07.0.213374923333.issue11950@psf.upfronthosting.co.za>
2011-04-29 18:38:59socketpairlinkissue11950 messages
2011-04-29 18:38:59socketpaircreate