logging and propagation
Diez B. Roggisch
deets at nospam.web.de
Wed Nov 21 07:08:16 EST 2007
Paul Rudin wrote:
> 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?
That calls for concurrency-issues, doesn't it?
I think he will have to go down the subclass-route.
Diez
More information about the Python-list
mailing list