feat: add allauth logging

This commit is contained in:
Herculino Trotta
2026-02-11 21:41:17 -03:00
parent 41adb37fdb
commit a1d3539e3c

View File

@@ -449,7 +449,7 @@ SPECTACULAR_SETTINGS = {
if "procrastinate" in sys.argv:
LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"disable_existing_loggers": True,
"formatters": {
"standard": {
"format": "[%(asctime)s] - %(levelname)s - %(name)s - %(message)s",
@@ -457,26 +457,19 @@ if "procrastinate" in sys.argv:
},
},
"handlers": {
"procrastinate": {
"level": "INFO",
"class": "logging.StreamHandler",
"formatter": "standard",
},
"console": {
"class": "logging.StreamHandler",
"formatter": "standard",
"level": "INFO",
},
},
"root": {
"handlers": ["console"],
"level": "INFO",
},
"loggers": {
"procrastinate": {
"handlers": ["procrastinate"],
"propagate": False,
},
"root": {
"handlers": ["console"],
"level": "INFO",
"propagate": False,
},
},
}
@@ -496,19 +489,20 @@ else:
"formatter": "standard",
"level": "INFO",
},
"procrastinate": {
"level": "INFO",
"class": "logging.StreamHandler",
},
},
"root": {
"handlers": ["console"],
"level": "INFO",
},
"loggers": {
"procrastinate": {
"handlers": None,
"handlers": [],
"propagate": False,
},
"root": {
"allauth": {
"handlers": ["console"],
"level": "INFO",
"level": "DEBUG",
"propagate": False,
},
},
}