Commit 475c76ff authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test] Simplify logging setup

parent 3dd85627
...@@ -67,13 +67,10 @@ if VERBOSE_TEST_LOGGING: ...@@ -67,13 +67,10 @@ if VERBOSE_TEST_LOGGING:
handler = logging.StreamHandler() handler = logging.StreamHandler()
handler.setFormatter(formatter) handler.setFormatter(formatter)
beat_core_logger = logging.getLogger('beat.core') for logger_name in ['beat.core', 'beat.backend.python']:
beat_core_logger.setLevel(logging.DEBUG) logger = logging.getLogger(logger_name)
beat_core_logger.addHandler(handler) logger.setLevel(logging.DEBUG)
beat_backend_logger = logging.getLogger('beat.backend.python')
def setup_package(): def setup_package():
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment