Hello,

I have 2 quick questions regargding Cocoon 2.1.9 and log4j configuration.
I must replace the logkit by log4j in my cocoon app. So I uncommented the following settings in the web.xml :

    <init-param>
       <param-name>logger-class</param-name>
<param-value>org.apache.avalon.excalibur.logger.Log4JLoggerManager</param-value>
     </init-param>

   <init-param>
       <param-name>log4j-config</param-name>
       <param-value>/WEB-INF/log4j.xconf</param-value>
     </init-param>

As a consequence, I only get one log4j file, containing all logs.
How can I configure log4j so as to get the same categories as with the logkit (sitemap, forms, handled-errors...) ?

Second point :
I get the following error at Cocoon startup :
log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).
log4j:WARN Please initialize the log4j system properly.
What else needs to be configured ? Everything has to be in the log4j.xconf file, or do I need additional config files ?

Thanks for your help.
Regards,

Nicolas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to