forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r585929 - /forrest/trunk/main/webapp/WEB-INF/web.xml
Date Thu, 18 Oct 2007 11:10:05 GMT
Author: thorsten
Date: Thu Oct 18 04:10:05 2007
New Revision: 585929

URL: http://svn.apache.org/viewvc?rev=585929&view=rev
Log:
FOR-1049 Fixing very ugly bug regarding logging and Servlet Container. The fix uses context
parameters instead of init-param.

Modified:
    forrest/trunk/main/webapp/WEB-INF/web.xml

Modified: forrest/trunk/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/web.xml?rev=585929&r1=585928&r2=585929&view=diff
==============================================================================
--- forrest/trunk/main/webapp/WEB-INF/web.xml (original)
+++ forrest/trunk/main/webapp/WEB-INF/web.xml Thu Oct 18 04:10:05 2007
@@ -27,6 +27,17 @@
 <web-app>
   <display-name>Apache Forrest</display-name>
   <description>Webapp generated by Forrest</description>
+  <!--
+      Set commons-logging classes, in particular JCS, to use the logkit so the log messages
+      are properly handled by cocoon.
+    -->
+  <context-param>
+    <param-name>force-property</param-name>
+    <param-value>
+      org.apache.commons.logging.Log=org.apache.commons.logging.impl.LogKitLogger
+    </param-value>
+  </context-param>
+  
   <servlet>
     <servlet-name>Cocoon</servlet-name>
     <display-name>Cocoon</display-name>
@@ -314,17 +325,6 @@
       <param-value>utf-8</param-value>
     </init-param>
     -->
-
-    <!--
-      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



Mime
View raw message