From e4124fb20b11d2b63bde9e997c9a16a4fc36168a Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 31 Oct 2024 15:25:31 +0100 Subject: [PATCH] fix duplicate logs --- dhub/settings.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dhub/settings.py b/dhub/settings.py index 85989b7..d93f719 100644 --- a/dhub/settings.py +++ b/dhub/settings.py @@ -223,6 +223,18 @@ LOGGING = { "root": { "handlers": ["console"], "level": "DEBUG", + }, + "loggers": { + "django": { + "handlers": ["console"], + "level": "INFO", + "propagate": False, # Asegura que no se reenvíen a los manejadores raíz + }, + "django.request": { + "handlers": ["console"], + "level": "ERROR", + "propagate": False, + } } }