From bdd39c0f0cbc37dba1b8f105838148e6e0c4648d Mon Sep 17 00:00:00 2001 From: Peter Dudfield <34686298+peterdudfield@users.noreply.github.com> Date: Mon, 23 Dec 2024 08:07:44 +0000 Subject: [PATCH] fix for logging level (#374) --- src/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index a649ef7..4bc1534 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(),