File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -456,8 +456,8 @@ Django provides several built-in loggers.
456
456
``django``
457
457
~~~~~~~~~~
458
458
459
- ``django`` is the catch-all logger. No messages are posted directly to
460
- this logger .
459
+ The catch-all logger for messages in the ``django`` hierarchy. No messages are
460
+ posted using this name but instead using one of the loggers below .
461
461
462
462
.. _django-request-logger:
463
463
@@ -734,18 +734,19 @@ By default, Django configures the following logging:
734
734
735
735
When :setting:`DEBUG` is ``True``:
736
736
737
- * The ``django`` catch-all logger sends all messages at the ``INFO `` level or
738
- higher to the console.
737
+ * The ``django`` logger sends messages in the ``django `` hierarchy (except
738
+ ``django.server``) at the ``INFO`` level or higher to the console.
739
739
740
740
When :setting:`DEBUG` is ``False``:
741
741
742
- * The ``django`` logger send messages with ``ERROR`` or ``CRITICAL`` level to
742
+ * The ``django`` logger sends messages in the ``django`` hierarchy (except
743
+ ``django.server``) with ``ERROR`` or ``CRITICAL`` level to
743
744
:class:`AdminEmailHandler`.
744
745
745
746
Independent of the value of :setting:`DEBUG`:
746
747
747
- * The :ref:`django-server-logger` logger sends all messages at the ``INFO``
748
- level or higher to the console.
748
+ * The :ref:`django-server-logger` logger sends messages at the ``INFO`` level
749
+ or higher to the console.
749
750
750
751
See also :ref:`Configuring logging <configuring-logging>` to learn how you can
751
752
complement or replace this default logging configuration.
You can’t perform that action at this time.
0 commit comments