[1.5.x] Fixed #20981 -- Noted the default value of disable_existing_loggers.

Backport of 095643e691 from master
This commit is contained in:
Krzysztof Jurewicz 2013-08-27 02:00:11 +02:00 committed by Tim Graham
parent 98635f2a0e
commit d3b7b6a7a4
1 changed files with 3 additions and 2 deletions

View File

@ -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