summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorduranbe <benoit.durand.mail@gmail.com>2023-11-19 20:32:31 +0100
committerNatalia <124304+nessita@users.noreply.github.com>2024-01-24 08:48:17 -0300
commitb2601a77f97eb84d7574e6ac68a38a636bdc0e1e (patch)
tree96e4bb14745ec4c92147e18856f19089cbd8c1c3
parentd490d009a32cd1fae80363b632f689785f5064b1 (diff)
[5.0.x] Fixed #34971 -- Doc'd additional loggers.
Co-authored-by: duranbe <benoit.durand.mail@gmail.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Backport of 0450c9bdf1773297c61b4e36850ab997ffd5dde2 from main
-rw-r--r--docs/ref/logging.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/ref/logging.txt b/docs/ref/logging.txt
index b11fb752f7..fa07422cd5 100644
--- a/docs/ref/logging.txt
+++ b/docs/ref/logging.txt
@@ -204,6 +204,39 @@ all database queries.
Support for logging transaction management queries (``BEGIN``, ``COMMIT``,
and ``ROLLBACK``) was added.
+.. _django-utils-autoreloader-logger:
+
+``django.utils.autoreload``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Log messages related to automatic code reloading during the execution of the
+Django development server. This logger generates an ``INFO`` message upon
+detecting a modification in a source code file and may produce ``WARNING``
+messages during filesystem inspection and event subscription processes.
+
+.. _django-contrib-gis-logger:
+
+``django.contrib.gis``
+~~~~~~~~~~~~~~~~~~~~~~
+
+Log messages related to :doc:`contrib/gis/index` at various points: during the
+loading of external GeoSpatial libraries (GEOS, GDAL, etc.) and when reporting
+errors. Each ``ERROR`` log record includes the caught exception and relevant
+contextual data.
+
+.. _django-dispatch-logger:
+
+``django.dispatch``
+~~~~~~~~~~~~~~~~~~~
+
+This logger is used in :doc:`signals`, specifically within the
+:mod:`~django.dispatch.Signal` class, to report issues when dispatching a
+signal to a connected receiver. The ``ERROR`` log record includes the caught
+exception as ``exc_info`` and adds the following extra context:
+
+* ``receiver``: The name of the receiver.
+* ``err``: The exception that occurred when calling the receiver.
+
.. _django-security-logger:
``django.security.*``