Commit 3264894e authored by Tim Graham's avatar Tim Graham
Browse files

[1.4.X] Fixed #17680 - Clarified when logging is configured.

Backport of cb38fd96 from master
parent fba0149e
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -218,10 +218,11 @@ handlers, filters and formatters that you want in your logging setup,
and the log levels and other properties that you want those components
to have.

Logging is configured immediately after settings have been loaded.
Since the loading of settings is one of the first things that Django
does, you can be certain that loggers are always ready for use in your
project code.
Logging is configured as soon as settings have been loaded
(either manually using :func:`~django.conf.settings.configure` or when at least
one setting is accessed). Since the loading of settings is one of the first
things that Django does, you can be certain that loggers are always ready for
use in your project code.

.. _dictConfig format: http://docs.python.org/library/logging.config.html#configuration-dictionary-schema