You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Vadim Gritsenko <va...@reverycodes.com> on 2004/02/03 21:15:50 UTC
Commons Logging, Re: cvs commit: cocoon-2.1/src/webapp/WEB-INF web.xml
vgritsenko@apache.org wrote:
> <!--
> + This parameter allows to set system properties
> + -->
> + <!--
> + <init-param>
> + <param-name>force-property</param-name>
> + <param-value>
> + org.apache.commons.logging.Log=org.apache.commons.logging.impl.LogKitLogger
> + </param-value>
> + </init-param>
> + -->
>
So if you are using anything relying on Commons Logging, you can send
its logs to LogKit by uncommenting this parameter.
I left this commented out because logkit is not available in the servlet
container's classpath (by default), thus anything which uses Commons
Logging and is not a part of Cocoon webapp will fail to initialize its
logger.
Vadim