Message91231
I was trying to suppress the error message as shown in the title, when I
found out (by searching through the source) that there is a NullHandler
for precisely this purpose.
http://svn.python.org/view/python/trunk/Lib/logging/__init__.py?r1=66211&r2=67511
do you think that:
1) this could be documented maybe here (
http://docs.python.org/library/logging.html#handler-objects ) i suppose?
and:
2) this null handler doesn't seem to exist in:
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2] on linux2
is this likely to get backported to 2.5? at the moment i've just
included the simple NullHandler class into my code.
3) also not my business really, but should it belong in the handlers.py
file?
thanks for all your hard work, i hope the comments are useful! |
|
Date |
User |
Action |
Args |
2009-08-03 17:04:11 | purpleidea | set | recipients:
+ purpleidea |
2009-08-03 17:04:11 | purpleidea | set | messageid: <1249319051.14.0.476850462848.issue6633@psf.upfronthosting.co.za> |
2009-08-03 17:04:09 | purpleidea | link | issue6633 messages |
2009-08-03 17:04:09 | purpleidea | create | |
|