diff options
| author | Sulabh Katila <sulabhkatila@gmail.com> | 2024-02-21 19:51:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 21:51:58 -0300 |
| commit | eceb5e2eea554ea0f9baf7abc1b1972459854cef (patch) | |
| tree | 5327cc03f0462e3c2c3feeab939bf698534f95a9 /docs/ref/logging.txt | |
| parent | 6feaad9113fd38ba3970032d2b7856c77403e29e (diff) | |
Fixed #34806 -- Made cached_db session backend resilient to cache write errors.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Diffstat (limited to 'docs/ref/logging.txt')
| -rw-r--r-- | docs/ref/logging.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/ref/logging.txt b/docs/ref/logging.txt index 6d8861299f..8a7e58997e 100644 --- a/docs/ref/logging.txt +++ b/docs/ref/logging.txt @@ -286,6 +286,17 @@ Messages to this logger have ``params`` and ``sql`` in their extra context (but unlike ``django.db.backends``, not duration). The values have the same meaning as explained in :ref:`django-db-logger`. +.. _django-contrib-sessions-logger: + +``django.contrib.sessions`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Log messages related to the :doc:`session framework</topics/http/sessions>`. + +* Non-fatal errors occurring when using the + :class:`django.contrib.sessions.backends.cached_db.SessionStore` engine are + logged as ``ERROR`` messages with the corresponding traceback. + Handlers -------- |
