main: Actually set logger level based on user's configuration.
This commit is contained in:
parent
50376b2b78
commit
5dfe2b1c7b
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ def setup_logger(logger, main_config, stream):
|
|||
handler = logging.StreamHandler(stream)
|
||||
handler.setFormatter(formatter)
|
||||
logger.addHandler(handler)
|
||||
logger.setLevel(main_config.get_loglevel())
|
||||
|
||||
def decimal_context(base=decimal.BasicContext):
|
||||
context = base.copy()
|
||||
|
|
Loading…
Reference in a new issue