We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e365a3c commit dc2cca1Copy full SHA for dc2cca1
gunicorn.conf.py
@@ -1,5 +1,4 @@
1
# https://docs.gunicorn.org/en/stable/settings.html
2
-from logger_extra.extras.gunicorn import JsonErrorFormatter, JsonFormatter
3
4
wsgi_app = "project.wsgi"
5
bind = "0.0.0.0:8888"
@@ -15,10 +14,12 @@
15
14
},
16
"formatters": {
17
"json": {
18
- "()": JsonFormatter,
+ "()": "pythonjsonlogger.jsonlogger.JsonFormatter",
+ "format": "%(asctime)s %(name)s %(levelname)s %(message)s",
19
20
"json_error": {
21
- "()": JsonErrorFormatter,
22
23
24
25
"handlers": {
0 commit comments