forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject svn commit: rev 23148 - forrest/trunk/src/core/context/WEB-INF
Date Thu, 22 Jul 2004 12:53:15 GMT
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.
     -->

Mime
View raw message