cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <>
Subject Re: The Cocoon Handbook - info on Log4J requested
Date Wed, 13 Oct 2004 12:11:13 GMT
Hi Helma,

> could someone either tell me how to make Cocoon use Log4J rather than 
> the
> Avalon LogKit ...

Not sure if this is complete, you might want to check it:

a) add this to web.xml


b) add log4j.jar in WEB-INF/lib if needed

c) create WEB-INF/classes/ to setup logging.

Another useful logging trick is to use log4j for the output of ant as 
well, by setting these options on the ant command line:


This is very useful for crazy folk like me who start their production 
systems via ant ;-)

Hope this helps

View raw message