summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorareski <areski@gmail.com>2014-08-15 14:18:55 +0200
committerTim Graham <timograham@gmail.com>2014-08-15 12:27:30 -0400
commitef90d395abfc4a9b0338146cf456f68d4f0557c7 (patch)
tree6be14986b234ee1e349fa176fc0b38af20225d2d /docs
parent2724cdbff635a40819f206411de23e9b14867a58 (diff)
Fixed #23278 -- Documented django.db.backends.schema logger
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/logging.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/topics/logging.txt b/docs/topics/logging.txt
index 4d111776d1..5a7d136859 100644
--- a/docs/topics/logging.txt
+++ b/docs/topics/logging.txt
@@ -413,7 +413,7 @@ requirements of logging in Web server environment.
Loggers
-------
-Django provides four built-in loggers.
+Django provides several built-in loggers.
``django``
~~~~~~~~~~
@@ -489,6 +489,15 @@ specific logger following this example::
'propagate': False,
},
+``django.db.backends.schema``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. versionadded:: 1.7
+
+Logs the SQL queries that are executed during schema changes to the database by
+the :doc:`migrations framework </topics/migrations>`. Note that it won't log the
+queries executed by :class:`~django.db.migrations.operations.RunPython`.
+
Handlers
--------