Skip to content

Commit

Permalink
prevent debug message after last log message for checking config vari…
Browse files Browse the repository at this point in the history
…able that was moved to the [runtime] section
  • Loading branch information
georgemccabe committed Nov 7, 2023
1 parent a333d49 commit 0861591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metplus/util/string_manip.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ def log_terminal_includes_info(config):
@returns True if log level is set to include INFO messages. False if not.
"""
log_terminal_level = logging.getLevelName(
config.getstr('config', 'LOG_LEVEL_TERMINAL',
config.getstr('runtime', 'LOG_LEVEL_TERMINAL'))
config.getstr_nocheck('config', 'LOG_LEVEL_TERMINAL',
config.getstr('runtime', 'LOG_LEVEL_TERMINAL'))
)
return log_terminal_level <= logging.INFO

0 comments on commit 0861591

Please sign in to comment.