Skip to content

Commit

Permalink
fix for logging level (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield authored Dec 23, 2024
1 parent 4de53a3 commit bdd39c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@

# flake8: noqa E501

logging.basicConfig(level=os.environ.get("LOGLEVEL", "INFO"))

structlog.configure(
wrapper_class=structlog.make_filtering_bound_logger(logging.INFO),
processors=[
structlog.processors.EventRenamer("message", replace_by="_event"),
structlog.stdlib.PositionalArgumentsFormatter(),
Expand Down

0 comments on commit bdd39c0

Please sign in to comment.