Fix logging so we actually get info level entries in the log. (#1494)

This commit is contained in:
Adam Brusselback 2023-10-30 13:02:21 -04:00 committed by GitHub
parent ac8d36f3e5
commit 2f3d36a8a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,4 +48,8 @@ _setup_logger()
def init_logger(name: str):
return logging.getLogger(name)
# Use the same settings as above for root logger
logger = logging.getLogger(name)
logger.setLevel(logging.DEBUG)
logger.addHandler(_default_handler)
return logger