Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 61639 invoked by uid 500); 2 Apr 2002 22:33:47 -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 61624 invoked from network); 2 Apr 2002 22:33:47 -0000 Message-Id: <200204022233.g32MXqc28519@orion.rgv.hp.com> X-Mailer: exmh 2.2 06/23/2000 with XEmacs 21.4.4 on Linux 2.2.19 From: Ovidiu Predescu To: giacomo , Carsten Ziegeler Cc: cocoon-dev@xml.apache.org Subject: Re: latest Excalibur breaks logging In-Reply-To: Your message of "Wed, 03 Apr 2002 00:06:31 +0200." X-Url: http://www.geocities.com/SiliconValley/Monitor/7464/ X-Image-Url: http://www.geocities.com/SiliconValley/Monitor/7464/ovidiu.tiff X-Face: ?(@Y~qjBA}~8ZMh5gM4{Q{bE_*:sCJ3@Z?{B*Co=J!#8bb~-z?-0._vJjt~MM59!MjxG%>U 5>MW^2-\7~z04buszR^=m^U|m66>FdR@cFwhb;.A(8*D.QmLkK]z,md0'HiOE\pyeiv_PACR+P:Cm. wq_%l':E:q]g-UCc>r&s@BVo'kFN;(\9PF22Myg5w%nUBWQ6MJJ#qL#w>2oxckP'H:\$9F"mxsz]Dg k{1`fTcP'Y$CgGnc^paTV$dzhVX+;(U$;Eb)P<>G)g) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 02 Apr 2002 14:33:52 -0800 Sender: ovidiu@orion.rgv.hp.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, 3 Apr 2002 00:06:31 +0200 (CEST), giacomo wrote: > On Tue, 2 Apr 2002, Ovidiu Predescu wrote: > > > On Tue, 02 Apr 2002 23:35:10 +0200, Gianugo Rabellino wrote: > > > > > Berin Loritsch wrote: > > > > > > > Ovidiu, if you built from CVS, then you must have the Servlet.jar > > > > file included in the lib directory to get that *optional* target. > > > > > > >>Logging Error: Could not set up Cocoon Logger, will use screen instead > > > >>org.apache.avalon.framework.configuration.ConfigurationExcepti > > > >>on: cannot find LogTargetFactory class > > > >>org.apache.avalon.excalibur.logger.factory.ServletTargetFactory > > > > > > Hmmm... I don't get it. I assume that this has to do with the Excalibur > > > build, not Cocoon's. The Excalibur jar in CVS is missing that class, so > > > whoever updates Excalibur jars should make sure that this optional class > > > is included, this is not a Cocoon build issue. Or am I missing something? > > > > Yes, you're right. The Excalibur jar file is missing the > > ServletTargetFactory class, and that's definitely not an issue with > > the servlet.jar file (which BTW is there in lib/optional/). > > > > Commenting out the second element in logkit.xconf solves the > > problem. As it turns out, the "servlet" factory is not even used in > > the Cocoon logkit setup, so it can be completely removed from this > > file. Should I commit this file? > > It was in logkit.xconf before the reshape of the logging configuration. > It seems disapeared. The intention was that every ERROR and above > message should also be logged into the servlet log. Ah, I see! Thanks for the clarification. I guess we need a new Excalibur with the ServletTargetFactory in it, before we can do anything, right? Carsten, can you please take a look at this? Thanks, Ovidiu --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org