logging and propagation

Paul Rudin paul.nospam at rudin.co.uk
Wed Nov 21 06:57:58 EST 2007


oj <ojeeves at gmail.com> writes:

> On Nov 21, 11:48 am, Paul Rudin <paul.nos... at rudin.co.uk> wrote:

>> Loggers have a "propagate" attribute. If you set this to False in the
>> child then you should get what you want I think.
>
> No, because I want message to propagate usually. There are only
> specific instances when I don't want it to propagate.

Can't you set propagate to False during those specific instances and 1
the rest of the time?



More information about the Python-list mailing list