fix duplicate logs

This commit is contained in:
Cayo Puigdefabregas 2024-10-31 15:25:31 +01:00
parent 517c3eb0c0
commit e4124fb20b

View file

@ -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,
}
}
}