On Tue, Mar 6, 2012 at 11:19, Vinay Sajip <vinay_sa...@yahoo.co.uk> wrote:
> On Mar 6, 4:09 pm, J <dreadpiratej...@gmail.com> 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
> --
> http://mail.python.org/mailman/listinfo/python-list

Thank you very much, Vinay :)

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

Cheers,

Jeff
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to