[New-bugs-announce] [issue6633] No handlers could be found for logger
report at bugs.python.org
Mon Aug 3 19:04:11 CEST 2009
New submission from James <purpleidea at gmail.com>:
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.
do you think that:
1) this could be documented maybe here (
http://docs.python.org/library/logging.html#handler-objects ) i suppose?
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
thanks for all your hard work, i hope the comments are useful!
components: Library (Lib)
title: No handlers could be found for logger
versions: Python 2.5
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce