summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorIlya Bass <ilya.bass@pathai.com>2022-10-20 15:14:35 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-11-21 09:10:14 +0100
commit798e38c2b9c46ab72e2ee8c33dc822f01b194b1e (patch)
tree32e558e0f86e04f9198646bffa11c08198dfe43c /docs/ref
parentc0a93d39411004300dfda2deb3dc093b69ac6368 (diff)
Fixed #31090 -- Logged transaction management queries.
Thanks to Petter Strandmark for the original idea and Mariusz Felisiak for advice during the DjangoConUS 2022 Sprint!
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/logging.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/ref/logging.txt b/docs/ref/logging.txt
index ba443a0a36..edd9f21ecb 100644
--- a/docs/ref/logging.txt
+++ b/docs/ref/logging.txt
@@ -196,9 +196,13 @@ For performance reasons, SQL logging is only enabled when
level or handlers that are installed.
This logging does not include framework-level initialization (e.g.
-``SET TIMEZONE``) or transaction management queries (e.g. ``BEGIN``,
-``COMMIT``, and ``ROLLBACK``). Turn on query logging in your database if you
-wish to view all database queries.
+``SET TIMEZONE``). Turn on query logging in your database if you wish to view
+all database queries.
+
+.. versionchanged:: 4.2
+
+ Support for logging transaction management queries (``BEGIN``, ``COMMIT``,
+ and ``ROLLBACK``) was added.
.. _django-security-logger: