浏览代码

Fixed #29991 -- Doc'd logger propogation for the default logging config.

raratiru 6 年之前
父节点
当前提交
793a71b7be
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      docs/topics/logging.txt

+ 5 - 0
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.