diff --git a/src/main.py b/src/main.py index a649ef71..4bc15348 100644 --- a/src/main.py +++ b/src/main.py @@ -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(),