Thanks to all for the recommendations. Good reading. Bottom line goals I have:
1) All exceptions logged through one package... jsp compilation errors, sql errors... errors that are caught by try/catch... errors that are not caught by try/catch... debug and trace that coders write... 2) I want my entire app to fit into a single WAR file with no other configuration. In other words, aside from jdk/tomcat, no server-level configuration. This doesn't mean that server config isn't done... but that it's done from within my build/deploy process (i.e. my META-INF/context.xml appends server.xml). Prabhat's link seems to address elements of this. But... my possibly incorrect understanding of the <Logger/> tag in Tomcat is that it defines the package that will log anything that Tomcat thinks I need to see. What's the catch-all that I'm looking for? While I agree that it's standard practice to catch all exceptions, coders sometimes don't adhere to it. Sounds like my first goal may be impossible. Sounds like I need two things: 1) <%@ page errorPage="error.jsp" %> on each jsp page and then on error.jsp write the most recent "uncaught" exception to the database 2) Log4j or similar to log "caught" exceptions What gives the rest of you comfort that you're seeing all errors that your app is generating? Thanks, Joe -----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 1:55 PM To: Tomcat Users List Howdy, >I read Ceki's article at http://qos.ch/logging/sc.html . Tomcat already has >an implementation of the CRS, right? Is there a how-to document somewhere >that explains how to configure Tomcat to use it? No to the first question, and therefore no to the second one as well. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
