diff options
| author | areski <areski@gmail.com> | 2014-08-15 14:18:55 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-15 12:38:09 -0400 |
| commit | 3af14109499bba8ea5b2a94e6a26cecb6cc002cd (patch) | |
| tree | 1af4108963ed0c806da17c00c9c2a52bd7252f34 /docs | |
| parent | 6011f245036ad1a652881e65b4b25cc5773bfb1b (diff) | |
[1.7.x] Fixed #23278 -- Documented django.db.backends.schema logger
Backport of ef90d395ab from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/logging.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/topics/logging.txt b/docs/topics/logging.txt index 50cd9e6ab8..fe0c650bbf 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 -------- |
