Hi everyone, Back to this again.. Any help would be very appreciated.
I'd created a custom logger that will email errors rather than log them to a file system. Unfortunately, if I add another <Logger className="..."> declaration to server.xml, it will not use the existing Logger (FileLogger). How can I make it use both? Optionally, I thought of extends the FileLogger, but it is declared final, so this won't work. How should I approach this? Or maybe there is some class already part of Tomcat that can do what I'm looking for? I'm using Tomcat 4.03 under Redhat 8. Thanks in advance. Chris On Sat, 2003-03-08 at 21:17, Chris Gokey wrote: > Is there alternatives to the FileLogger class? > <!-- Global logger unless overridden at lower levels --> > <Logger className="org.apache.catalina.logger.FileLogger" > prefix="catalina_log." suffix=".txt" > timestamp="true"/> > > I'd like intercept any errors in Tomcat and mail these errors to a > particular person. > > If not, can I add another Logger by specifying an entry like the above > in the server.xml and creating my custom Logger class? Is that all > that is necessary? > > Thanks, > Chris -- Christopher D. Gokey, SSAI, NASA/GCMD 18 Martin Road, Shelburne Falls, MA 01370 Phone: Voice (413) 625-8129 / FAX 208-248-9055 [EMAIL PROTECTED] AOL: chrisgokey --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
