cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject RE: latest Excalibur breaks logging
Date Tue, 02 Apr 2002 22:19:00 GMT
> -----Original Message-----
> From: ovidiu@orion.rgv.hp.com 
> 
> On Tue, 02 Apr 2002 23:35:10 +0200, Gianugo Rabellino 
> <gianugo@apache.org> 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/).

Yes, but is it in Excalibur's lib directory?


> Commenting out the second <factory> 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 used to be used to forward results to the Servlet's context.log()
method. on ERROR level messages.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message