[Python-Dev] Handler.setLevel()

Jeremy Hylton jeremy@zope.com
18 Jun 2003 12:11:06 -0400


I think there's a bug in the logging package.

It defines a setLevel() method on Handler objects, but I can't find any
explanation of what it does.  I checked the code and calling setLevel()
sets an attribute that is never read.

I expected setLevel() to be a way to filter out messages below a certain
level.  Is that the intended effect?  If so, I'd be happy to fix it so
that it worked.

Jeremy