[issue6633] No handlers could be found for logger

Vinay Sajip report at bugs.python.org
Wed Aug 5 21:45:56 CEST 2009


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

1) It's not appropriate to document NullHandler at the point you
describe, as that's the API for Handlers. However, it is documented at

http://docs.python.org/library/logging.html#configuring-logging-for-a-library

I will check that NullHandler is added to documentation where the
available handler classes are listed.

2) Unlikely to be backported to 2.5, as it's a new feature (2.5
documentation tells how to create the class in user's own code).

3) NullHandler was placed in the main logging package along with the
other "elementary" handlers which are likely to be of most general use -
the handlers.py module is intended for more specialised handlers.

----------
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6633>
_______________________________________


More information about the Python-bugs-list mailing list