diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-04 15:12:39 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-04 15:12:39 +0000 |
| commit | 24acca413977422681ca16b42fe9a6d763df2121 (patch) | |
| tree | 0d3e1df0b023581725107984b5d6c57544bba7a0 /docs/ref/settings.txt | |
| parent | 667d832e901ca6bb394054109e24a2ed6cadc563 (diff) | |
Fixed #12012 -- Added support for logging. Thanks to Vinay Sajip for his draft patch, and to the many people who gave feedback during development of the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/settings.txt')
| -rw-r--r-- | docs/ref/settings.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index b5556deac8..595c2d0e34 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1008,6 +1008,36 @@ See :ref:`using-translations-in-your-own-projects`. .. setting:: LOGIN_REDIRECT_URL +LOGGING +------- + +Default: A logging configuration dictionary. + +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. + +.. versionadded:: 1.3 + +LOGGING_CONFIG +-------------- + +Default: ``'django.utils.log.dictConfig'`` + +A path to a callable that will be used to configure logging in the +Django project. Points at a instance of Python's `dictConfig`_ +configuration method by default. + +If you set :setting:`LOGGING_CONFIG` to ``None``, the logging +configuration process will be skipped. + +.. _dictConfig: http://docs.python.org/library/logging.html#logging.dictConfig + +.. versionadded:: 1.3 + LOGIN_REDIRECT_URL ------------------ |
