on 2/12/01 4:59 AM, "Sean Legassick" <[EMAIL PROTECTED]> wrote: > A piece of functionality I really want is the ability to email errors to > an administrative email address. Previously I had thought that making > the exception handling in Turbine.handleException pluggable was the way > to go, but looking at the (wonderful) new LoggingService I think the > right way to go is to write an EmailLogger class ... > > Can anyone forsee any problems with this, or shall I go ahead and write > the class? > > Sean Well, there are two levels of errors in Turbine. There are exceptions that are thrown and there are Log.error() messages. If you and an email each and every time a Log.error() is hit, then using a EmailLogger would be good. If you want an email sent when an exception is thrown up to the top level Turbine.java class, then a *ErrorScreen is best. thanks, -jon -- If you come from a Perl or PHP background, JSP is a way to take your pain to new levels. --Anonymous <http://jakarta.apache.org/velocity/> && <http://java.apache.org/turbine/> ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/> Problems?: [EMAIL PROTECTED]
