Hi!

I'd like to use the Site Error Log facility to log errors from my application.

What I want to do is catch all errors that occur when a page is rendered and log them to the site error log. The pages rendered consist of many modules that can trigger their own errors.

On screen there should be a short error message at the place the error occurred and a link to the full log entry in the error log.

So what I'd need to know is:

a) How can I write errors to the log from an excep: block in Python?
b) How can I get back the log ID for that specific error log entry to use it in my application?


Is there any written documentation on how to hook up the error log?

Cheers

Joachim

--
iuveno AG
Joachim Werner

Wittelsbacherstr. 23b
90475 Nürnberg

Tel.: +49 (0) 911 9883 984

E-Mail: [EMAIL PROTECTED]
WWW: http://www.iuveno.de


_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
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 )

Reply via email to