fix duplicate logs

This commit is contained in:
Cayo Puigdefabregas 2024-10-31 15:25:31 +01:00
parent 517c3eb0c0
commit e4124fb20b
1 changed files with 12 additions and 0 deletions

View File

@ -223,6 +223,18 @@ LOGGING = {
"root": { "root": {
"handlers": ["console"], "handlers": ["console"],
"level": "DEBUG", "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,
}
} }
} }