[Zope3-Users] Change site-wide error logging behaviour

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Mar 8 15:12:10 EST 2007


On Thursday 15 February 2007 20:21, Andrew Groom wrote:
> I need to change the default error logging behaviour to send me an email
> when there's an error. I'm guessing this involves adapting an interface
> in etc/overrides.zcml or something like that - has anyone done this
> before and, if so, is willing to share some code ? :-) Much appreciated.

You can write a custom error reporting utility that sends out an E-mail every 
time a an error occurs. Alternatively, you could implement your own error 
views that send out events and have subscribers react to those events sending 
E-mails. There are plenty of choices.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list