summaryrefslogtreecommitdiff
path: root/django/utils
diff options
context:
space:
mode:
authorDaniele Procida <daniele@vurt.org>2021-06-28 13:02:08 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-06-30 07:21:52 +0200
commite3d55eeb14936e82257ac6a005e9f9a06def3d00 (patch)
treec05fea5ab734c73908fa0cd84577ed7ff72b2ab3 /django/utils
parent8bca838f4a230b78dd44fc1db3c1b81e444c6099 (diff)
Refs #32880 -- Moved logging reference to new document.
Completed a first step in moving reference and how-to material out of the topic document.
Diffstat (limited to 'django/utils')
-rw-r--r--django/utils/log.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/django/utils/log.py b/django/utils/log.py
index 3d3e8701c7..7c16fc6b12 100644
--- a/django/utils/log.py
+++ b/django/utils/log.py
@@ -13,7 +13,8 @@ request_logger = logging.getLogger('django.request')
# Default logging for Django. This sends an email to the site admins on every
# HTTP 500 error. Depending on DEBUG, all other log records are either sent to
# the console (DEBUG=True) or discarded (DEBUG=False) by means of the
-# require_debug_true filter.
+# require_debug_true filter. This configuration is quoted in
+# docs/ref/logging.txt; please amend it there if edited here.
DEFAULT_LOGGING = {
'version': 1,
'disable_existing_loggers': False,