Help me with weird logging problem

J dreadpiratejeff at
Tue Mar 6 18:03:16 CET 2012

On Tue, Mar 6, 2012 at 11:19, Vinay Sajip <vinay_sajip at> wrote:
> On Mar 6, 4:09 pm, J <dreadpiratej... at> wrote:
>> Any idea what I'm doing wrong?
> Levels can be set on loggers as well as handlers, and you're only
> setting levels on the handlers. The default level on the root logger
> is WARNING. A logger checks its level first, and only if the event
> passes that test will it be passed to the handlers (which will also
> perform level tests).
> So, a logger.setLevel(logging.DEBUG) should be all you need to add
> before logging anything.
> Regards,
> Vinay Sajip
> --

Thank you very much, Vinay :)

I thought it was something simple like that I had overlooked or misunderstood.



More information about the Python-list mailing list