Skip to content

Commit

Permalink
Update log_config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniivanov authored Oct 30, 2023
1 parent 0c6a3cf commit 331b393
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def configure_initial_logging_before_anything():
is run which adds more context to the logs and initializes syslog handler (if configured to do so)
"""
log_level = "WARNING"
if os.environ.get("LOG_LEVEL_VDK", None):
log_level = os.environ.get("LOG_LEVEL_VDK")
if os.environ.get(LOG_LEVEL_VDK, None):
log_level = os.environ.get(LOG_LEVEL_VDK)
elif os.environ.get("VDK_LOG_LEVEL_VDK", None):
log_level = os.environ.get("VDK_LOG_LEVEL_VDK")

Expand Down

0 comments on commit 331b393

Please sign in to comment.