From 98907ec889c6c26c857c4bf2a84e5a788262a35c Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 13 Oct 2021 09:42:49 +0200 Subject: [PATCH] root: remove structlog.processors.format_exc_info for new structlog version Signed-off-by: Jens Langhammer --- authentik/root/settings.py | 2 -- lifecycle/gunicorn.conf.py | 1 - 2 files changed, 3 deletions(-) diff --git a/authentik/root/settings.py b/authentik/root/settings.py index c2aa7aec1..ece576b38 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -451,7 +451,6 @@ structlog.configure_once( structlog.stdlib.PositionalArgumentsFormatter(), structlog.processors.TimeStamper(fmt="iso", utc=False), structlog.processors.StackInfoRenderer(), - structlog.processors.format_exc_info, structlog.stdlib.ProcessorFormatter.wrap_for_formatter, ], logger_factory=structlog.stdlib.LoggerFactory(), @@ -468,7 +467,6 @@ LOG_PRE_CHAIN = [ structlog.stdlib.add_logger_name, structlog.processors.TimeStamper(), structlog.processors.StackInfoRenderer(), - structlog.processors.format_exc_info, ] LOGGING = { diff --git a/lifecycle/gunicorn.conf.py b/lifecycle/gunicorn.conf.py index 76391a553..1721d9597 100644 --- a/lifecycle/gunicorn.conf.py +++ b/lifecycle/gunicorn.conf.py @@ -35,7 +35,6 @@ logconfig_dict = { structlog.stdlib.add_logger_name, structlog.processors.TimeStamper(), structlog.processors.StackInfoRenderer(), - structlog.processors.format_exc_info, ], } },