From fea159282b75130b5f6cf52ec92ddfa09467f3c9 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 6 Oct 2010 15:02:26 +0000 Subject: Fixed #14406 -- Added a Python 2.4 compatibility to the logging interface. Thanks to Ɓukasz Rekucki for the report, and to Luke Plant for original patch this was based on. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://code.djangoproject.com/svn/django/trunk@13989 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/logging.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs') diff --git a/docs/topics/logging.txt b/docs/topics/logging.txt index 3d4dffe3e0..149bd0ae7a 100644 --- a/docs/topics/logging.txt +++ b/docs/topics/logging.txt @@ -411,6 +411,10 @@ Messages to this logger have the following extra context: * ``request``: The request object that generated the logging message. +.. note:: + Due to a limitation in the logging library, this extra + context is not available if you are using Python 2.4. + ``django.db.backends`` ~~~~~~~~~~~~~~~~~~~~~~ @@ -424,6 +428,10 @@ Messages to this logger have the following extra context: * ``sql``: The SQL statement that was executed. * ``params``: The parameters that were used in the SQL call. +.. note:: + Due to a limitation in the logging library, this extra + context is not available if you are using Python 2.4. + Handlers -------- -- cgit v1.3