Logging to different addressees

McA andreas.mock at web.de
Wed Jul 16 10:18:39 EDT 2008


On 16 Jul., 15:38, Vinay Sajip <vinay_sa... at yahoo.co.uk> wrote:
> On Jul 16, 8:55 am, McA <andreas.m... at web.de> wrote:
>
> > messages tologging.getLogger('tree.leave') would also show up inlogging.getLogger('tree') automatically?
>
> Yes.

Ok.

>
> > Hope not to bother.
>
> Use the propagate flag, which is mentioned in the documentation.

That's the right hint.


> In fact, please make sure you've reviewed all the documentation before
> posting, as the documentation is intended to answer the more
> straightforward and common questions which come up.

I did it and I'll do it again. :-)
You know, sometimes a piece of text/documentation starts to
become information for the reader when he exactly hits the
problem.

Anyway, thank you for your help and for that module.

> Best regards,
>
> Vinay Sajip

Best regards
Andreas Mock




More information about the Python-list mailing list