spotify/luigi — pull request #246 by JonNelson (2013-12-08 00:55:32+00:00)
Title: don't disable existing loggers when logging.config.fileConfig is called by luigi

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.