summaryrefslogtreecommitdiff
path: root/docs/topics/logging.txt
diff options
context:
space:
mode:
authorFrédéric Massart <fmcell@gmail.com>2017-11-21 18:21:31 +0800
committerTim Graham <timograham@gmail.com>2017-11-21 11:49:15 -0500
commita5f1e5809f26d93ea0c6010bb44895b3d1992089 (patch)
treefb8ff733cb81ae503a3c93db1843f08a0f3c9b4e /docs/topics/logging.txt
parentd97f026a7ab5212192426e45121f7a52751a2044 (diff)
downloaddjango-a5f1e5809f26d93ea0c6010bb44895b3d1992089.tar.gz
Clarified who the AdminEmailHandler emails.
Diffstat (limited to 'docs/topics/logging.txt')
-rw-r--r--docs/topics/logging.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/topics/logging.txt b/docs/topics/logging.txt
index 5b06ffba72..f82c4dcf4b 100644
--- a/docs/topics/logging.txt
+++ b/docs/topics/logging.txt
@@ -379,13 +379,13 @@ This logging configuration does the following things:
* Defines two handlers:
- * ``console``, a StreamHandler, which will print any ``INFO``
- (or higher) message to stderr. This handler uses the ``simple`` output
- format.
+ * ``console``, a :class:`~logging.StreamHandler`, which prints any ``INFO``
+ (or higher) message to ``sys.stderr``. This handler uses the ``simple``
+ output format.
- * ``mail_admins``, an AdminEmailHandler, which will email any
- ``ERROR`` (or higher) message to the site admins. This handler uses
- the ``special`` filter.
+ * ``mail_admins``, an :class:`AdminEmailHandler`, which emails any ``ERROR``
+ (or higher) message to the site :setting:`ADMINS`. This handler uses the
+ ``special`` filter.
* Configures three loggers:
@@ -587,7 +587,7 @@ Python logging module.
.. class:: AdminEmailHandler(include_html=False, email_backend=None)
- This handler sends an email to the site admins for each log
+ This handler sends an email to the site :setting:`ADMINS` for each log
message it receives.
If the log record contains a ``request`` attribute, the full details