diff options
| author | Tim Graham <timograham@gmail.com> | 2012-08-10 16:12:45 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-08-10 17:35:55 -0400 |
| commit | 3264894ee02f7099272619fa4f6072d4d2e95eb6 (patch) | |
| tree | 5722accf44f6e4b537c5bdfaa78469682ec42bcb /docs | |
| parent | fba0149e1604ad4ab3745abff8bba0d38bbfe321 (diff) | |
[1.4.X] Fixed #17680 - Clarified when logging is configured.
Backport of cb38fd9632 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/logging.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/topics/logging.txt b/docs/topics/logging.txt index aa2afba760..0426ae3d17 100644 --- a/docs/topics/logging.txt +++ b/docs/topics/logging.txt @@ -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 |
