logging issues
Vinay Sajip
vinay_sajip at yahoo.co.uk
Sat Dec 17 15:44:45 EST 2011
On Dec 13, 5:03 pm, Andrea Crotti <andrea.crott... at gmail.com> wrote:
> The set_verbosity seems to do its job, the second is also
> called and the filters are added but I don't see the output
> formatted as it should..
Generally speaking, you should only do logging configuration once, as
Jean-Michel said - from your main() function or "if __name__ ==
'__main__'" suite.
Until you show more detail about what you're getting and what you're
expecting, it's hard to provide more help.
Regards,
Vinay Sajip
More information about the Python-list
mailing list