On Apr 10, 3:51 pm, Alexandru  Moșoi <brtz...@gmail.com> wrote:
> config.py and I found a big comment saying that old loggers are
> disabled! Why? What am I doing wrong?

This is by design, because fileConfig is not meant for incremental
configuration - it is for complete configuration of the logging
system. The old loggers which are not mentioned in the config file are
disabled (rather than removed from memory) as there might be threads
running which reference them. So if your logging configuration is
static for an application run you can use fileConfig. If it is
dyanmic, you are better off using programmatic configuration.

Regards,

Vinay Sajip
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to