Skip to content

Commit 472e019

Browse files
committed
Fix gunicorn logging
1 parent 98854b1 commit 472e019

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

config/settings/logging.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,15 @@
2424
"reporter_class": "django.views.debug.ExceptionReporter"
2525
}
2626
},
27-
"root": { "level": "INFO", "handlers": ["console", "mail_admins"] }
27+
"root": { "level": "INFO", "handlers": ["console", "mail_admins"] },
28+
"loggers": {
29+
"gunicorn.access": {
30+
"level": "INFO",
31+
"handlers": ["console", "mail_admins"]
32+
},
33+
"gunicorn.error": {
34+
"level": "INFO",
35+
"handlers": ["console", "mail_admins"]
36+
}
37+
}
2838
}

0 commit comments

Comments
 (0)