Kaydet (Commit) 9d12f68a authored tarafından Ramiro Morales's avatar Ramiro Morales

Reworded a paragraph in the logging docs.

üst 12342250
...@@ -211,14 +211,16 @@ handlers, filters and formatters that you want in your logging setup, ...@@ -211,14 +211,16 @@ handlers, filters and formatters that you want in your logging setup,
and the log levels and other properties that you want those components and the log levels and other properties that you want those components
to have. to have.
Prior to Django 1.5, the :setting:`LOGGING` setting overwrote the :ref:`default Prior to Django 1.5, the :setting:`LOGGING` setting always overwrote the
Django logging configuration <default-logging-configuration>`. From Django :ref:`default Django logging configuration <default-logging-configuration>`.
1.5 forward, the project's logging configuration is merged with Django's From Django 1.5 forward, it is possible to get the project's logging
defaults, hence you can decide if you want to add to, or replace the existing configuration merged with Django's defaults, hence you can decide if you want to
configuration. To completely override the default configuration, set the add to, or replace the existing configuration.
``disable_existing_loggers`` key to ``True`` (which is the default) in the
:setting:`LOGGING` dictConfig. Alternatively you can redefine some or all of If the ``disable_existing_loggers`` key in the :setting:`LOGGING` dictConfig is
the loggers by setting ``disable_existing_loggers`` to ``False``. set to ``True`` (which is the default) the default configuration is completely
overridden. 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 Logging is configured as soon as settings have been loaded
(either manually using :func:`~django.conf.settings.configure` or when at least (either manually using :func:`~django.conf.settings.configure` or when at least
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment