It seems reasonable to me to single this one out since its so common. -Casey On Sunday 06 April 2003 04:17 pm, Maik Jablonski wrote:
Hello,
I would like to introduce a small change into the great SiteErrorLog introduced in Zope 2.6.x. If you visit the error_log in the ZMI, you'll see many entries like:
21:42:06 Anonymous User (None) NotFound: <TABLE BORDER="0" WIDTH="100%"> <TR VALIGN="TOP"> <TD WIDTH="10%"
The "Exception Value" for the ExceptionType "NotFound" is usually not very meaningful. Much more useful would be an entry like:
21:42:06 Anonymous User (None) NotFound: http://localhost:8080/url/not/found
The only thing which needs a little patch is python/lib/Products/SiteErrorLog/www/main.pt:
87c87,88 < tal:content="python: len(value) < 70 and value or value[:70] + '...'"> ---
tal:content="python: test(entry['type']=='NotFound', entry['url'], len(value) < 70 and value or value[:70] + '...')">
Any thoughts or comments?
Cheers, Maik
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )