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 `. Note that it won't log the +queries executed by :class:`~django.db.migrations.operations.RunPython`. + Handlers --------