diff options
| author | Claude Paroz <claude@2xlibre.net> | 2013-06-27 16:29:26 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2013-06-27 16:29:26 +0200 |
| commit | 8db264cbc88e46eb8bc79e8e819a72f814db503e (patch) | |
| tree | 5fa020fdaf8e771160d3e40256032a5d7fcf0975 /docs | |
| parent | 99b467f272da91b8894dc90d793d8d2c40b78d8c (diff) | |
Fixed LOGGING setting docs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/settings.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 902eefa86a..215931768c 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1350,8 +1350,14 @@ A data structure containing configuration information. The contents of this data structure will be passed as the argument to the configuration method described in :setting:`LOGGING_CONFIG`. -The default logging configuration passes HTTP 500 server errors to an -email log handler; all other log messages are given to a NullHandler. +Among other things, the default logging configuration passes HTTP 500 server +errors to an email log handler when :setting:`DEBUG` is ``False``. See also +:ref:`configuring-logging`. + +You can see the default logging configuration by looking in +``django/utils/log.py`` (or view the `online source`__). + +__ https://github.com/django/django/blob/master/django/utils/log.py .. setting:: LOGGING_CONFIG |
