From 6baaf2338866a2ab35445a4165992e86683bbb03 Mon Sep 17 00:00:00 2001 From: Reinout van Rees Date: Wed, 3 Apr 2024 20:09:16 +0200 Subject: [PATCH] Don't log all the queries --- brostar_api/settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/brostar_api/settings.py b/brostar_api/settings.py index 0602409..58adba4 100644 --- a/brostar_api/settings.py +++ b/brostar_api/settings.py @@ -111,6 +111,11 @@ "level": "DEBUG" if DEBUG else "INFO", "propagate": True, }, + "django": { + "handlers": ["console"], + "level": "INFO", # DEBUG level would also print sql statements + "propagate": False, + }, }, }