You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/vsajip'closed_at=<Date2009-08-05.19:45:54.914>created_at=<Date2009-08-03.17:04:09.809>labels= ['library']
title='No handlers could be found for logger'updated_at=<Date2009-08-05.21:07:47.390>user='https://bugs.python.org/purpleidea'
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.
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.
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!
I will check that NullHandler is added to documentation where the
available handler classes are listed.
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).
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: