Features: 1) Add logging configuration for Gunicorn access and error logs;

Fixes: None;

Extra: None;
This commit is contained in:
Egor Pavlovich Gorbunov 2025-07-07 18:30:52 +03:00
parent d8d4c07e80
commit 4ef06dd971

View file

@ -91,6 +91,20 @@ LOGGING = {
"propagate": True,
"filters": ["skip_variable_doesnotexist"],
},
"gunicorn.access": {
"handlers": [
"console",
],
"level": "DEBUG" if DEBUG else "INFO",
"propagate": False,
},
"gunicorn.error": {
"handlers": [
"console",
],
"level": "DEBUG" if DEBUG else "INFO",
"propagate": False,
},
"django_elasticsearch_dsl": {
"handlers": [
"console",