Skip to content

Commit

Permalink
feat(dev): enable setting log level from envvar (#15633)
Browse files Browse the repository at this point in the history
  • Loading branch information
miketheman authored Mar 19, 2024
1 parent 4b94bfe commit 569324e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions warehouse/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ def configure(settings=None):
if settings is None:
settings = {}

# Allow configuring the log level. See `warehouse/logging.py` for more
maybe_set(settings, "logging.level", "LOG_LEVEL")

# Add information about the current copy of the code.
maybe_set(settings, "warehouse.commit", "SOURCE_COMMIT", default="null")

Expand Down

0 comments on commit 569324e

Please sign in to comment.