Extend the error logger's API to allow ignoring some errors
|Reported by:||Julien Phalip||Owned by:||peppergrower|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
This feature request was prompted after some discussions in #10046 and on django-dev: http://groups.google.com/group/django-developers/browse_thread/thread/71cd0bbc76113ac8
In particular, there are certain common errors like 'IOError: request data read error' which live outside of Django's or the developer's control, and which can safely be ignored. However, it can be risky to systematically ignore every
IOError in Django core as there could be other genuinely important causes for it, especially at the WSGI layer.
So, as suggested by Graham Dumpleton and others on IRC, the API for the Django's built-in error loggers could be extended to let the user specify which errors could be ignored and not be logged.
Change History (6)
comment:1 Changed 6 years ago by
|Component:||Core (Other) → Documentation|
|Triage Stage:||Unreviewed → Accepted|
|Version:||1.3 → SVN|