Opened 2 years ago
Last modified 2 years ago
#33897 closed New feature
django.request log for all requests — at Version 1
Reported by: | Tim Ioannidis | Owned by: | nobody |
---|---|---|---|
Component: | HTTP handling | Version: | 4.0 |
Severity: | Normal | Keywords: | logging |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
What's the rationale behind only logging responses with django.request
if status code is >= 400? Do you think we could make this a setting that a user can configure?
For me it would be nice if I could use the same logger for all my requests coming from gunicorn but now I'm getting only 4XX, 5XX from django and all requests within gunicorn (ending up with duplicate logs for 4XX & 5XX). I would ideally like to disable gunicorn logging and just capture all requests coming from django directly.