#33897: django.request log for all requests
-----------------------------+--------------------------------------
     Reporter:  chemeng      |                    Owner:  nobody
         Type:  New feature  |                   Status:  new
    Component:  Utilities    |                  Version:  4.0
     Severity:  Normal       |               Resolution:
     Keywords:  logging      |             Triage Stage:  Unreviewed
    Has patch:  0            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+--------------------------------------
Description changed by chemeng:

Old description:

> 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. I would ideally like to disable
> gunicorn logging and just capture all requests coming from django
> directly.

New description:

 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.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33897#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701826d6039ec-85a74670-407d-4c37-9ca1-ae67043f7d76-000000%40eu-central-1.amazonses.com.

Reply via email to