From ea8240a5aef5b703ab4ca4adb9e9d4508cfd8c47 Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Tue, 2 Nov 2021 19:29:35 +0300 Subject: [PATCH] Fix no log level in env case --- EDMCLogging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EDMCLogging.py b/EDMCLogging.py index 6dfd169..d8a5448 100644 --- a/EDMCLogging.py +++ b/EDMCLogging.py @@ -440,7 +440,7 @@ def get_main_logger(sublogger_name: str = '') -> 'LoggerMixin': # Singleton -loglevel = logging._nameToLevel.get(os.getenv('JUBILANT_LOG_LEVEL').upper(), logging.DEBUG) # noqa: +loglevel = logging._nameToLevel.get(os.getenv('JUBILANT_LOG_LEVEL', 'DEBUG').upper(), logging.DEBUG) # noqa: base_logger_name = __name__