Features: 1) Add logging configuration for Gunicorn access and error logs;
Fixes: None; Extra: None;
This commit is contained in:
parent
d8d4c07e80
commit
4ef06dd971
1 changed files with 14 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue