Clearing out handlers in logging?

Gunther Dietrich gd.usenet at spamfence.net
Sun Mar 16 19:29:46 CET 2014


Tim Chase <python.list at tim.thechases.com> wrote:

>> >The current (2.7; maybe 3.x?) logging module doesn't have any sort
>> >of "clear out all the current handlers" method.
>> 
>> Indeed, THERE IS a removeHandler() method.
>
>Yes, I'm aware of it, having read the source & docs.  However, the
>signature is

Sorry, your original article lacks information about what you already 
know/tried and what not. So it is a bit misleading and makes the 
impression, you would't read the documentation. It would have been 
helpful if you had told us your preconditions.



Best regards,

Gunther



More information about the Python-list mailing list