diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2011-01-03 12:07:19 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-01-03 12:07:19 +0000 |
| commit | 2a5105ac15baf68c844aa14b68b7af63a2329fc9 (patch) | |
| tree | 7b14031b7951ea228264c5423556e5193b83ffc8 | |
| parent | 0f783b7f4eac037e22875eeeb6dc85c26b2a65f4 (diff) | |
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
| -rw-r--r-- | django/utils/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
