-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The global LOG should be initialized only after the setup_logger call which reads up the log config. If the LOG is initialized at module import time it will use the default Python logging config. By default this will print the messages to the standard output which might not be a problem. Some log messages might go to the wrong place (stdout) before the logging config is read up in setup_logger if the default setting in the log config forwards the log messages not to the stdout.
- Loading branch information
Gyorgy Orban
committed
Jan 24, 2018
1 parent
b1f7480
commit 52d640a
Showing
2 changed files
with
31 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters