Ticket #15527: 15527.diff

File 15527.diff, 597 bytes (added by John Paulett, 7 years ago)
  • docs/topics/logging.txt

    diff --git a/docs/topics/logging.txt b/docs/topics/logging.txt
    index 062cd7f..bbba4da 100644
    a b Messages to this logger have the following extra context: 
    462462    Due to a limitation in the logging library, this extra
    463463    context is not available if you are using Python 2.4.
     465.. note::
     466    SQL logging to the database will only occur if ``settings.DEBUG``
     467    is set to ``True`` to avoid having to perform a database write
     468    every time a SQL query is performed in a production environment.
Back to Top