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:
handler = logging.StreamHandler()
handler.setFormatter(formatter)
beat_core_logger = logging.getLogger('beat.core')
beat_core_logger.setLevel(logging.DEBUG)
beat_core_logger.addHandler(handler)
beat_backend_logger = logging.getLogger('beat.backend.python')
beat_backend_logger.setLevel(logging.DEBUG)
beat_backend_logger.addHandler(handler)
for logger_name in ['beat.core', 'beat.backend.python']:
logger = logging.getLogger(logger_name)
logger.setLevel(logging.DEBUG)
logger.addHandler(handler)
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