Author: lukeplant Date: 2010-11-16 08:00:38 -0600 (Tue, 16 Nov 2010) New Revision: 14573
Modified: django/trunk/docs/howto/error-reporting.txt Log: Added info about using logging to the 'Error reporting' howto. Modified: django/trunk/docs/howto/error-reporting.txt =================================================================== --- django/trunk/docs/howto/error-reporting.txt 2010-11-16 13:32:07 UTC (rev 14572) +++ django/trunk/docs/howto/error-reporting.txt 2010-11-16 14:00:38 UTC (rev 14573) @@ -39,6 +39,14 @@ To disable this behavior, just remove all entries from the :setting:`ADMINS` setting. +.. seealso:: + + .. versionadded:: 1.3 + + Server error e-mails are sent using the logging framework, so you can + customize this behaviour by :doc:`customizing your logging configuration + </topics/logging>`. + 404 errors ---------- @@ -76,3 +84,12 @@ :ref:`exception middleware <exception-middleware>`. If you do write custom error handling, it's a good idea to emulate Django's built-in error handling and only report/log errors if :setting:`DEBUG` is ``False``. + +.. seealso:: + + .. versionadded:: 1.3 + + 404 errors are logged using the logging framework. By default, these log + records are ignored, but you can use them for error reporting by writing a + handler and :doc:`configuring logging </topics/logging>` appropriately. + -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.