This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author purpleidea
Recipients purpleidea
Date 2009-08-03.17:04:08
SpamBayes Score 8.26218e-06
Marked as misclassified No
Message-id <1249319051.14.0.476850462848.issue6633@psf.upfronthosting.co.za>
In-reply-to
Content
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!
History
Date User Action Args
2009-08-03 17:04:11purpleideasetrecipients: + purpleidea
2009-08-03 17:04:11purpleideasetmessageid: <1249319051.14.0.476850462848.issue6633@psf.upfronthosting.co.za>
2009-08-03 17:04:09purpleidealinkissue6633 messages
2009-08-03 17:04:09purpleideacreate