spotify/luigi — pull request #321 by JonNelson (2014-05-06 15:09:15+00:00)
Title: - don't disable existing loggers when logging.config.fileConfig is called by luigi

Originally #246.
Per your request, I've rebased this.

Original text:

When asking luigi to set up logging (by way of a logging config file), luigi will use logging.config.fileConfig(some_filename). However, it's also not passing in disable_existing_loggers=False (which, sadly, defaults to True). What happens is if you use the pattern where each module has a global logger instance, by the time luigi gets around to calling fileConfig, these logger instances have already been created, and then fileConfig (without disable_existing_loggers=False) goes ahead and disables them, making them useless.

Therefore, don't disable existing loggers when luigi starts up and configures logging.