summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
authorNick Pope <nick@nickpope.me.uk>2021-07-02 14:36:53 +0100
committerGitHub <noreply@github.com>2021-07-02 15:36:53 +0200
commitfa35c8bdbc6aca65d94d6280fa463d5bc7baa5c0 (patch)
treefd32615a8397e8c5068eb45a0c7e43ed1eb44795 /docs/releases
parent313c3d1aa14d80922003f841c257ec4e153f8653 (diff)
Fixed #30934 -- Included database alias in django.db.backends log messages.
This is useful when working with database routing as you want to know where each query is being executed. Co-authored-by: David Winterbottom <david.winterbottom@gmail.com>
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/4.0.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt
index c1e64c499a..54d0fd4c1d 100644
--- a/docs/releases/4.0.txt
+++ b/docs/releases/4.0.txt
@@ -226,7 +226,8 @@ Internationalization
Logging
~~~~~~~
-* ...
+* The alias of the database used in an SQL call is now passed as extra context
+ along with each message to the :ref:`django-db-logger` logger.
Management Commands
~~~~~~~~~~~~~~~~~~~