Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 2a5105ac15baf68c844aa14b68b7af63a2329fc9 1 parent 0f783b7
Russell Keith-Magee authored January 03, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/utils/log.py
2  django/utils/log.py
@@ -71,7 +71,7 @@ def emit(self, record):
71 71
             subject = '%s (%s IP): %s' % (
72 72
                 record.levelname,
73 73
                 (request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS and 'internal' or 'EXTERNAL'),
74  
-                request.path
  74
+                record.msg
75 75
             )
76 76
             request_repr = repr(request)
77 77
         except:

0 notes on commit 2a5105a

Please sign in to comment.
Something went wrong with that request. Please try again.