diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.py b/src/main.py index e90360b..d811095 100644 --- a/src/main.py +++ b/src/main.py @@ -20,6 +20,8 @@ def get_config(): def setup_logging(config): + for handler in logging.root.handlers[:]: + logging.root.removeHandler(handler) logging_levels = [logging.WARNING, logging.INFO, logging.DEBUG] logging.basicConfig( level=logging_levels[config['settings'].get('info_messages', 0)], |