From 521b6b61cea348e979cf55aee15be3d3feaf21ea Mon Sep 17 00:00:00 2001 From: Dhruv Sondhi Date: Sat, 17 Jul 2021 13:54:36 +0530 Subject: [PATCH 1/2] Fixed Ipython Display showing up even when the logger is turned off --- tardis/io/logger/logger.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tardis/io/logger/logger.py b/tardis/io/logger/logger.py index 4ae8369d548..5cff38d86c7 100644 --- a/tardis/io/logger/logger.py +++ b/tardis/io/logger/logger.py @@ -1,8 +1,8 @@ import logging import sys -import logging import warnings import pyne.data + from tardis.io.logger.colored_logger import ColoredFormatter, formatter_message warnings.filterwarnings("ignore", category=pyne.utils.QAWarning) @@ -125,7 +125,8 @@ def logging_state(log_state, tardis_config, specific): tardis_loggers = tardis_logger() if logging_level in LOGGING_LEVELS: - logger.setLevel(LOGGING_LEVELS[logging_level]) + for logger in tardis_loggers: + logger.setLevel(LOGGING_LEVELS[logging_level]) if logger.filters: for filter in logger.filters: From ec9100fc8bed6a5cfc6cf29266335621f3942beb Mon Sep 17 00:00:00 2001 From: Dhruv Sondhi Date: Mon, 19 Jul 2021 20:27:37 +0530 Subject: [PATCH 2/2] [build docs]