Two similar logging programs but different ouputs

Vinay Sajip vinay_sajip at
Tue Apr 19 03:56:17 EDT 2011

On Apr 19, 6:35 am, Disc Magnet <discmag... at> wrote:

> I couldn't find this mentioned in the documentation at:
> Could you please tell me where this is documented?

It's documented here:

(look for 'disable_existing_logger'), but having looked at it, it *is*
poorly documented and hard to find. I'll update the fileConfig section
to describe the behaviour more clearly.

> In the following code, is not explicitly mentioned in the file
> configuration. As per what you said, should be disabled.

Actually I wasn't clear enough in my earlier response. The behaviour
is that all loggers are disabled other than those explicitly named in
the configuration *and their descendants*.

I'm glad you brought these points up, they do highlight an area where
the documentation could be clearer. I'll get on it.


Vinay Sajip

More information about the Python-list mailing list