|
From: Wolfgang M. <wol...@gm...> - 2005-11-14 13:57:09
|
> I conclude that I have screwed up in the way I glue new releases
> of eXist into Cocoon, and that the messages are destined for
> some log file which cannot be located, and hence hit the global
> tomcat log. Is that conceivable?
Unfortunately, Cocoon, Tomcat and eXist all have their own logging
preferences, so the question is always who's the first to configure
log4j. Anyway, eXist now has a little servlet, Log4JInit, which tries
to get log4j configured correctly. Have you tried to load that in your
web.xml? Example:
<servlet>
<servlet-name>log4j-init</servlet-name>
<servlet-class>org.exist.http.servlets.Log4jInit</servlet-class>
<init-param>
<param-name>log4j-init-file</param-name>
<param-value>WEB-INF/log4j.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
Wolfgang
|