mirror of https://github.com/Kkevsterrr/geneva
Bug fix for log level
This commit is contained in:
parent
563de05bdf
commit
98281fd31c
|
@ -119,7 +119,7 @@ def get_logger(basepath, log_dir, logger_name, log_name, environment_id, log_lev
|
||||||
ch = logging.StreamHandler()
|
ch = logging.StreamHandler()
|
||||||
ch.setFormatter(formatter)
|
ch.setFormatter(formatter)
|
||||||
ch.setLevel(log_level)
|
ch.setLevel(log_level)
|
||||||
CONSOLE_LOG_LEVEL = log_level
|
CONSOLE_LOG_LEVEL = ch.level
|
||||||
logger.addHandler(ch)
|
logger.addHandler(ch)
|
||||||
return logger
|
return logger
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue