main: Actually set logger level based on user's configuration.

This commit is contained in:
Brett Smith 2018-02-22 14:37:14 -05:00
parent 50376b2b78
commit 5dfe2b1c7b

View file

@ -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()