On Apr 19, 6:35 am, Disc Magnet <discmag...@gmail.com> wrote: > I couldn't find this mentioned in the documentation at: > > http://docs.python.org/library/logging.config.html#configuration-file... > > Could you please tell me where this is documented?
It's documented here: http://docs.python.org/library/logging.config.html#dictionary-schema-details (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, foo.bar is not explicitly mentioned in the file > configuration. As per what you said, foo.bar 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. Regards, Vinay Sajip -- http://mail.python.org/mailman/listinfo/python-list