Closed GoogleCodeExporter closed 9 years ago
Hi,
To work around the above issue in my development environment I've modified the
management.py file and the patch file is attached herewith. Basically its a one
line
fix in the process_response method.
Please fell free to ignore/improve my modifications as per your understanding
of side
effects, but it is working smooth for me.
Regards,
Shihan
Original comment by mnis4...@gmail.com
on 20 Aug 2008 at 3:19
Attachments:
Hi Shihan,
Displaying the log message in an error response should work fine, and has for
me on
many occasions. The traceback you provided helped me to identify an issue in
the way
the the log is injected into the HTML.
If the document content contains anything that looks like a regular expression
back
reference (\1, \2, \3, etc.) then the error you described would occur.
This has been fixed in r26.
Would you be able to update and test whether this has fixed the problem in your
environment?
Thanks,
Fraser
Original comment by fras...@gmail.com
on 21 Aug 2008 at 8:00
Hi Fraser,
I've updated my working copy for django-logging to r26 and yes, this issue now
seemed
to be fixed and the Log is currently displayed properly even in the exception
pages.
I'll let you know if I find any other inconsistencies (along with this as well)
my
future use of django-logging application.
Actually as django-logging is basically a helper app to operate in middle, any
exception within it becomes very frustrating and misleading to the newbies like
me
while trying to install and run another project (pinax was my case) that has
dependencies to it.
Thank you very much for the quick update.
Regards,
Shihan
Original comment by mnis4...@gmail.com
on 21 Aug 2008 at 12:51
Marking as fixed.
Original comment by fras...@gmail.com
on 21 Aug 2008 at 1:02
Original issue reported on code.google.com by
mnis4...@gmail.com
on 16 Aug 2008 at 3:48