Re: Clearing out handlers in logging?

2014-03-16 Thread Gunther Dietrich
Tim Chase 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 a

Re: Clearing out handlers in logging?

2014-03-16 Thread Gunther Dietrich
Tim Chase 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. In the documentation of python 2.6, it is mentioned in '16.6.5. Logger Objects', directly after the addHandler() meth