Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added info about using logging to the 'Error reporting' howto.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b9e6db4ae801190cb2db188b8d5a5f0e891a6d56 1 parent 165f13d
Luke Plant authored November 16, 2010

Showing 1 changed file with 17 additions and 0 deletions. Show diff stats Hide diff stats

  1. 17  docs/howto/error-reporting.txt
17  docs/howto/error-reporting.txt
@@ -39,6 +39,14 @@ address, modify the :setting:`SERVER_EMAIL` setting.
39 39
 To disable this behavior, just remove all entries from the :setting:`ADMINS`
40 40
 setting.
41 41
 
  42
+.. seealso::
  43
+
  44
+   .. versionadded:: 1.3
  45
+
  46
+   Server error e-mails are sent using the logging framework, so you can
  47
+   customize this behaviour by :doc:`customizing your logging configuration
  48
+   </topics/logging>`.
  49
+
42 50
 404 errors
43 51
 ----------
44 52
 
@@ -76,3 +84,12 @@ The best way to disable this behavior is to set
76 84
     :ref:`exception middleware <exception-middleware>`. If you do write custom
77 85
     error handling, it's a good idea to emulate Django's built-in error handling
78 86
     and only report/log errors if :setting:`DEBUG` is ``False``.
  87
+
  88
+.. seealso::
  89
+
  90
+   .. versionadded:: 1.3
  91
+
  92
+   404 errors are logged using the logging framework. By default, these log
  93
+   records are ignored, but you can use them for error reporting by writing a
  94
+   handler and :doc:`configuring logging </topics/logging>` appropriately.
  95
+

0 notes on commit b9e6db4

Please sign in to comment.
Something went wrong with that request. Please try again.