Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 11015 invoked from network); 21 Jul 2003 12:51:23 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 21 Jul 2003 12:51:23 -0000 Received: (qmail 16482 invoked by uid 97); 21 Jul 2003 12:53:54 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 16475 invoked from network); 21 Jul 2003 12:53:54 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 21 Jul 2003 12:53:54 -0000 Received: (qmail 10152 invoked by uid 500); 21 Jul 2003 12:51:14 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 10137 invoked from network); 21 Jul 2003 12:51:13 -0000 Received: from unknown (HELO mustang.mpi.com) (63.244.250.132) by daedalus.apache.org with SMTP; 21 Jul 2003 12:51:13 -0000 Received: from lightning.mpi.com (lightning.mpi.com [63.244.252.11]) by mustang.mpi.com (Switch-2.2.6/Switch-2.2.6) with ESMTP id h6LCoU619448 for ; Mon, 21 Jul 2003 08:50:30 -0400 (EDT) Received: from US-VS1.corp.mpi.com (us-be1.corp.mpi.com [63.244.252.30]) by lightning.mpi.com (Switch-3.0.4/Switch-3.0.0) with ESMTP id h6LCp464028816 for ; Mon, 21 Jul 2003 08:51:08 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [5.0] Servlet logging and error messages Date: Mon, 21 Jul 2003 08:51:07 -0400 Message-ID: <9C5166762F311146951505C6790A9CF8346471@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [5.0] Servlet logging and error messages Thread-Index: AcNNe1RElxsaKB4rTMOizvGaSm0Y5gCCppaw From: "Shapira, Yoav" To: "Tomcat Developers List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Howdy, >- Stripping out all the Catalina related part of the stack trace in t= he >HTML generated by the ErrorReportValve; that eases debugging. Hmm... As long as the full stack trace, including Catalina, is still i= n the log file, that's OK. I know the Catalina parts of the stack trace= frequently have <=3D 0 value, but I still feel better knowing the full= stack trace is there. >- When an exception occurs, and it is a ServletException, I think the= >root cause should be logged, not the external exception, which 99% of= >the time is useless. What about cases where someone constructs a ServletException with a message, without a root cause exception? >- I strongly believe that all webapp triggered logging (init errors, >service errors, etc) should go to the servlet container provided logg= er >(ie Context.getLogger()). Ditto, +1. >Right now, a significant amount is sent to >commons-logging. I was aware that the intent was to switch the container >itself to commons-logging (and I am +1 for it), but c-l or another >generic logging framework such as log4j, is IMO not adapted to provid= e >the webapp logging (same for the access log, obvioously). Curious: why is log4j not adapted / what's missing from it for this use-case? Yoav Shapira This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org