Vinay Sajip vinay_sajip at yahoo.co.uk
Thu May 25 19:14:00 CEST 2006

Baurzhan Ismagulov wrote:

> Thanks for the idea! I think this should work for the example I sent.
> However, I have more than one module, and I want to log only l01. How
> can I do that?

I don't know what your logger hierarchy looks like: you could perhaps
log to child loggers of l01 ("l01.XXX"), or set all other loggers you
use to have a CRITICAL level, or filter them using a filter which
filters out everything.



More information about the Python-list mailing list