From a336d2d0c821c2fdd297fcdbfabc5e5a2620942b Mon Sep 17 00:00:00 2001 From: Jerry Mao Date: Sat, 7 Jan 2023 16:44:09 +1100 Subject: [PATCH] Make staging logging parseable --- backend/siarnaq/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/siarnaq/settings.py b/backend/siarnaq/settings.py index 80777cd0b..71d336254 100644 --- a/backend/siarnaq/settings.py +++ b/backend/siarnaq/settings.py @@ -337,9 +337,9 @@ class Staging(Base): LOGGING: dict[str, Any] = { **_LOGGING_COMMON, "loggers": { - "django": {"handlers": ["null"], "level": "INFO"}, - "django_structlog": {"handlers": ["console"], "level": "DEBUG"}, - "siarnaq": {"handlers": ["console"], "level": "DEBUG"}, + "django": {"handlers": ["json"], "level": "INFO"}, + "django_structlog": {"handlers": ["json"], "level": "DEBUG"}, + "siarnaq": {"handlers": ["json"], "level": "DEBUG"}, }, }