#26504: Prevent logging warnings for page "Not Found" before redirect to 
language-
prefixed page
-------------------------------------+-------------------------------------
     Reporter:  cworth-gh            |                    Owner:  Tim
         Type:                       |  Graham <timograham@…>
  Cleanup/optimization               |                   Status:  closed
    Component:  Error reporting      |                  Version:  master
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by solarissmoke):

 I just want to note that this change has altered the behaviour of Django's
 404 logging somewhat.

 Previously, Django would only log a 404 if a `Http404` exception bubbled
 up to the core handler (and not if a view/middleware caught the exception
 and returned a response, regardless of whether that response was still a
 404).

 Now, it will log **all** 404 responses regardless of how they were
 generated. This seems better to me but there may be applications that were
 relying on the previous behaviour.

--
Ticket URL: <https://code.djangoproject.com/ticket/26504#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.841312ee3418897bad9af9c100abba52%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to