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.
Regards,
Vinay
--
http://mail.python.org/mailman/listinfo/python-list
