Author: russellm
Date: 2011-01-03 06:07:19 -0600 (Mon, 03 Jan 2011)
New Revision: 15132
Modified:
django/trunk/django/utils/log.py
Log:
Fixed #14973 -- Tweaked the email log handler so that the log message is
actually reported.
Modified: django/trunk/django/utils/log.py
===================================================================
--- django/trunk/django/utils/log.py 2011-01-02 17:34:52 UTC (rev 15131)
+++ django/trunk/django/utils/log.py 2011-01-03 12:07:19 UTC (rev 15132)
@@ -71,7 +71,7 @@
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:
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.