Commits

Anonymous committed 13c13b5

Fixed #15527 -- Added a explanatory note about the SQL debug log. Thanks to boxm for the report, and jpaulett for the draft patch

Comments (0)

Files changed (1)

docs/topics/logging.txt

     * ``sql``: The SQL statement that was executed.
     * ``params``: The parameters that were used in the SQL call.
 
+For performance reasons, SQL logging is only occurs when
+``settings.DEBUG`` is set to ``True``, regardless of the logging
+level or handlers that are installed.
+
 .. note::
     Due to a limitation in the logging library, this extra
     context is not available if you are using Python 2.4.