mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Fixed #20981 -- Noted the default value of disable_existing_loggers.
This commit is contained in:
parent
4f7ed3f2d1
commit
095643e691
@ -216,8 +216,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
Block a user