You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by br...@apache.org on 2004/07/22 14:53:15 UTC

svn commit: rev 23148 - forrest/trunk/src/core/context/WEB-INF

Author: brondsem
Date: Thu Jul 22 05:53:15 2004
New Revision: 23148

Modified:
   forrest/trunk/src/core/context/WEB-INF/web.xml
Log:
in webapp mode, JCS log messages go through cocoon

Modified: forrest/trunk/src/core/context/WEB-INF/web.xml
==============================================================================
--- forrest/trunk/src/core/context/WEB-INF/web.xml	(original)
+++ forrest/trunk/src/core/context/WEB-INF/web.xml	Thu Jul 22 05:53:15 2004
@@ -314,6 +314,17 @@
     -->
 
     <!--
+      Set commons-logging classes, in particular JCS, to use the logkit so the log messages
+      are properly handled by cocoon.
+    -->
+    <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>
+
+    <!--
       This parameter allows you to startup Cocoon2 immediately after startup
       of your servlet engine.
     -->