From 0450c9bdf1773297c61b4e36850ab997ffd5dde2 Mon Sep 17 00:00:00 2001 From: duranbe Date: Sun, 19 Nov 2023 20:32:31 +0100 Subject: [PATCH 1/4] Fixed #34971 -- Doc'd additional loggers. Co-authored-by: duranbe Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> --- docs/ref/logging.txt | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/docs/ref/logging.txt b/docs/ref/logging.txt index a15e2ac91f..6d8861299f 100644 --- a/docs/ref/logging.txt +++ b/docs/ref/logging.txt @@ -199,6 +199,39 @@ This logging does not include framework-level initialization (e.g. ``SET TIMEZONE``). Turn on query logging in your database if you wish to view all database queries. +.. _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.*`` From e412d85b4626bc56eb25206a40c3529162ce5dfc Mon Sep 17 00:00:00 2001 From: Marijke Luttekes Date: Wed, 24 Jan 2024 14:11:54 +0100 Subject: [PATCH 2/4] Fixed #35115 -- Made admin's footer render in