Skip to content

Commit

Permalink
[1.4.X] Fixed #17680 - Clarified when logging is configured.
Browse files Browse the repository at this point in the history
Backport of cb38fd9 from master
  • Loading branch information
timgraham committed Aug 10, 2012
1 parent fba0149 commit 3264894
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/topics/logging.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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 and the log levels and other properties that you want those components
to have. to have.


Logging is configured immediately after settings have been loaded. Logging is configured as soon as settings have been loaded
Since the loading of settings is one of the first things that Django (either manually using :func:`~django.conf.settings.configure` or when at least
does, you can be certain that loggers are always ready for use in your one setting is accessed). Since the loading of settings is one of the first
project code. 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 .. _dictConfig format: http://docs.python.org/library/logging.config.html#configuration-dictionary-schema


Expand Down

0 comments on commit 3264894

Please sign in to comment.