[Zope3-Users] Getting zope.publisher to log errors

Christian Theune ct at gocept.com
Tue Jul 1 02:48:17 EDT 2008


Hi,

On Tue, 2008-07-01 at 15:55 +1200, andrew wrote:
> Hi All,
> 
> Is it possible to modify the default behaviour of zope.publisher somehow
> when handling exceptions ? For instance, I want to log all the details
> of the exception when one occurs instead of the very unhelpful little
> default message returned by the http.py:handleException.

You might want to look into the error log (dunno where it's implemented)
which causes errors that appear in the publisher to be logged (in the UI
and the log). You should find the code how to instrument the publisher
to do that there.

Christian

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20080701/ce591850/attachment.bin


More information about the Zope3-users mailing list