Ticket #21484: 21484.diff

File 21484.diff, 1.2 KB (added by Tim Graham, 11 years ago)
  • docs/topics/logging.txt

    diff --git a/docs/topics/logging.txt b/docs/topics/logging.txt
    index 15c1aa9..2bc1be9 100644
    a b Messages to this logger have the following extra context:  
    414414``django.db.backends``
    415415~~~~~~~~~~~~~~~~~~~~~~
    416416
    417 Messages relating to the interaction of code with the database.
    418 For example, every SQL statement executed by a request is logged
    419 at the ``DEBUG`` level to this logger.
     417Messages relating to the interaction of code with the database. For example,
     418every application-level SQL statement executed by a request is logged at the
     419``DEBUG`` level to this logger.
    420420
    421421Messages to this logger have the following extra context:
    422422
    For performance reasons, SQL logging is only enabled when  
    428428``settings.DEBUG`` is set to ``True``, regardless of the logging
    429429level or handlers that are installed.
    430430
     431This logging does not include framework-level initialization (e.g.
     432``SET TIMEZONE``) or transaction management queries (e.g. ``BEGIN``,
     433``COMMIT``, and ``ROLLBACK``). Turn on query logging in your database if you
     434wish the view all database queries.
     435
    431436``django.security.*``
    432437~~~~~~~~~~~~~~~~~~~~~~
    433438
Back to Top