Message134807
| Author |
socketpair |
| Recipients |
socketpair, vinay.sajip |
| Date |
2011年04月29日.18:38:59 |
| SpamBayes Score |
2.6860427e-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:00 | socketpair | set | recipients:
+ socketpair, vinay.sajip |
| 2011年04月29日 18:39:00 | socketpair | set | messageid: <1304102340.07.0.213374923333.issue11950@psf.upfronthosting.co.za> |
| 2011年04月29日 18:38:59 | socketpair | link | issue11950 messages |
| 2011年04月29日 18:38:59 | socketpair | create |
|