Skip to content

Commit

Permalink
Merge ec9100f into eca735f
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvSondhi authored Jul 19, 2021
2 parents eca735f + ec9100f commit e28c9f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tardis/io/logger/logger.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit e28c9f5

Please sign in to comment.