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

andrew andrew at reurbanise.co.nz
Tue Jul 1 17:31:33 EDT 2008


Hi All,

Thanks for all the help. As it turned out, the way to get full debugging
info in my case was to use the debug option in paster (we've got a Paste
front-end):

./bin/paster serve etc/debug.ini

(probably specific to our buildout but you get the idea).

Cheers, Andrew.

On Tue, 2008-07-01 at 08:48 +0200, Christian Theune wrote:
> 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
> 



More information about the Zope3-users mailing list