mirror of https://github.com/django/django.git
[1.5.x] Fixed #20981 -- Noted the default value of disable_existing_loggers.
Backport of 095643e691
from master
This commit is contained in:
parent
98635f2a0e
commit
d3b7b6a7a4
|
@ -223,8 +223,9 @@ Django logging configuration <default-logging-configuration>`. From Django
|
|||
1.5 forward, the project's logging configuration is merged with Django's
|
||||
defaults, hence you can decide if you want to add to, or replace the existing
|
||||
configuration. To completely override the default configuration, set the
|
||||
``disable_existing_loggers`` key to True in the :setting:`LOGGING`
|
||||
dictConfig. Alternatively you can redefine some or all of the loggers.
|
||||
``disable_existing_loggers`` key to ``True`` (which is the default) in the
|
||||
:setting:`LOGGING` dictConfig. Alternatively you can redefine some or all of
|
||||
the loggers by setting ``disable_existing_loggers`` to ``False``.
|
||||
|
||||
Logging is configured as soon as settings have been loaded
|
||||
(either manually using :func:`~django.conf.settings.configure` or when at least
|
||||
|
|
Loading…
Reference in New Issue