Skip to content

Commit

Permalink
Changed check for specific_log_level parameter & setting it up via th…
Browse files Browse the repository at this point in the history
…e YAML
  • Loading branch information
DhruvSondhi committed Aug 13, 2021
1 parent 5d9b0f3 commit 7dc8ed6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tardis/io/logger/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ def logging_state(log_level, tardis_config, specific_log_level):
tardis_config["debug"]["log_level"] = DEFAULT_LOG_LEVEL
logging_level = tardis_config["debug"]["log_level"]

if specific_log_level:
specific_log_level = specific_log_level
else:
if not specific_log_level:
tardis_config["debug"][
"specific_log_level"
] = DEFAULT_SPECIFIC_STATE
Expand Down

0 comments on commit 7dc8ed6

Please sign in to comment.