Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 5304 invoked by uid 500); 5 Sep 2002 13:21:05 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 5293 invoked from network); 5 Sep 2002 13:21:05 -0000 From: "Carsten Ziegeler" To: Subject: RE: 3 suggestions Date: Thu, 5 Sep 2002 15:24:26 +0200 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-reply-to: <3D7758D4.4060706@apache.org> X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 05.09.2002 15:21:03, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 05.09.2002 15:21:04, Serialize complete at 05.09.2002 15:21:04 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Nicola Ken Barozzi wrote: > > > > But there was no consensus on if we should log when the > exception is thrown > > or when it is catched and consumed (and not rethrown). I prever the last > > way and someone else prefered the first solution. So, it's still as it > > is and you get an exception logged more than once - blowing up the log. > > It should be logged when it is consumed, because you can never tell if > you catch a new exception or an already rethrown one. > > BTW, do we really need to log exceptions in the components? > > I would really like to see the errors caught ONLY by Cocoon.java, and > logged there. It would reduce the problems we are having a LOT. > That's what I suggested years ago... Carsten --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org