Skip to content

Commit

Permalink
fix for logging level
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Dec 22, 2024
1 parent 4de53a3 commit b0437d1
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 b0437d1

Please sign in to comment.