From 2a5105ac15baf68c844aa14b68b7af63a2329fc9 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 3 Jan 2011 12:07:19 +0000 Subject: [PATCH] Fixed #14973 -- Tweaked the email log handler so that the log message is actually reported. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15132 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/utils/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/utils/log.py b/django/utils/log.py index 75422c72ec..1f6dc52849 100644 --- a/django/utils/log.py +++ b/django/utils/log.py @@ -71,7 +71,7 @@ class AdminEmailHandler(logging.Handler): subject = '%s (%s IP): %s' % ( record.levelname, (request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS and 'internal' or 'EXTERNAL'), - request.path + record.msg ) request_repr = repr(request) except: