mirror of
https://github.com/norohind/jubilant-system.git
synced 2025-04-17 14:42:19 +03:00
Fix no log level in env case
This commit is contained in:
parent
94d5ec4539
commit
ea8240a5ae
@ -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__
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user