diff options
| author | Ilya Bass <ilya.bass@pathai.com> | 2022-10-20 15:14:35 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-11-21 09:10:14 +0100 |
| commit | 798e38c2b9c46ab72e2ee8c33dc822f01b194b1e (patch) | |
| tree | 32e558e0f86e04f9198646bffa11c08198dfe43c /docs/ref | |
| parent | c0a93d39411004300dfda2deb3dc093b69ac6368 (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.txt | 10 |
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: |
