[Zope-CMF] Logging errors in standard_error_message

Chris McDonough chrism@zope.com
02 Oct 2002 21:22:30 -0400


FWIW, Zope 2.6 installs an error_log object by default in the root of
your Zope instance that does exactly what it sounds like you're trying
to do.

On Wed, 2002-10-02 at 19:13, Jeff Ross wrote:
> I would like to capture all exceptions on my portal and store them in an
> error log. I've been able to capture some exceptions by modifying
> standard_error_message.pt in the skins directory to log exceptions when they
> occur. I've noticed, however, that not all exceptions trigger a redirect to
> standard_error_message.pt. It looks like some exceptions go to another
> standard_error_message altogether.
> 
> For example, if I go to the root of my portal and type /invokeFactory, I get
> an error message, (Invalid request. The parameter, type_name, was omitted
> from the request.) but it's not my standard_error_message.pt.
> 
> Any ideas?
> 
> Thanks,
> 
> Jeff
> 
> 
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
> 
> See http://collector.zope.org/CMF for bug reports and feature requests