-
-
Notifications
You must be signed in to change notification settings - Fork 757
Closed
Description
I'm developing an application based on distributed. That is, I intend to run a Python session, import a few libraries, including distributed, then execute code.
I am using the logging-file-config to control logging. However, the call to configure logging disables existing loggers by default. The code is at
distributed/distributed/config.py
Line 117 in 7d25208
| logging.config.fileConfig(config['logging-file-config']) |
It took a while to figure this out, but when calling fileConfig, this argument is also needed
disable_existing_loggers=False. The logging library suggests this is "for backwards compatibility", but that does not seem like a pressing concern here. I've made a PR to keep existing loggers enabled.Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels