summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraratiru <tantiras@yandex.com>2018-11-28 04:13:21 +0200
committerTim Graham <timograham@gmail.com>2018-11-29 20:32:49 -0500
commit8f8be2a8d72643592d697317268e85e7887f2bbf (patch)
treec2b1cd90b5a7e6e5b6bd44492140a89413ea2a20
parent381bdd4898bffbe1cbd3020826e6bf4c7cc63254 (diff)
[2.1.x] Fixed #29991 -- Doc'd logger propogation for the default logging config.
Backport of 793a71b7be9970bee8cbac68985684628e99ad23 from master.
-rw-r--r--docs/topics/logging.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/topics/logging.txt b/docs/topics/logging.txt
index 6badc17568..c6aa0c5a5a 100644
--- a/docs/topics/logging.txt
+++ b/docs/topics/logging.txt
@@ -746,5 +746,10 @@ Independent of the value of :setting:`DEBUG`:
* The :ref:`django-server-logger` logger sends messages at the ``INFO`` level
or higher to the console.
+All loggers except :ref:`django-server-logger` propagate logging to their
+parents, up to the root ``django`` logger. The ``console`` and ``mail_admins``
+handlers are attached to the root logger to provide the behavior described
+above.
+
See also :ref:`Configuring logging <configuring-logging>` to learn how you can
complement or replace this default logging configuration.