portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r384249 - in /portals/jetspeed-2/trunk: jetspeed-components.xml src/webapp/WEB-INF/web.xml
Date Wed, 08 Mar 2006 16:21:26 GMT
Author: ate
Date: Wed Mar  8 08:21:18 2006
New Revision: 384249

URL: http://svn.apache.org/viewcvs?rev=384249&view=rev
Log:
Using the new Jetspeed web applications logging component for Jetspeed itself.
See: http://issues.apache.org/jira/browse/JS2-508

Modified:
    portals/jetspeed-2/trunk/jetspeed-components.xml
    portals/jetspeed-2/trunk/src/webapp/WEB-INF/web.xml

Modified: portals/jetspeed-2/trunk/jetspeed-components.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/jetspeed-components.xml?rev=384249&r1=384248&r2=384249&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/jetspeed-components.xml (original)
+++ portals/jetspeed-2/trunk/jetspeed-components.xml Wed Mar  8 08:21:18 2006
@@ -230,6 +230,16 @@
 	           <war.bundle>true</war.bundle>
 	        </properties>
 		</dependency>
+        <dependency>
+            <id>jetspeed-webapp-logging</id>
+            <groupId>org.apache.portals.jetspeed-2</groupId>
+            <version>
+                ${jetspeed.version}
+            </version>
+            <properties>
+               <war.bundle>true</war.bundle>
+            </properties>
+        </dependency>
 
         <!-- taglib stuff -->
 		<dependency>

Modified: portals/jetspeed-2/trunk/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/src/webapp/WEB-INF/web.xml?rev=384249&r1=384248&r2=384249&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/WEB-INF/web.xml (original)
+++ portals/jetspeed-2/trunk/src/webapp/WEB-INF/web.xml Wed Mar  8 08:21:18 2006
@@ -20,6 +20,17 @@
 
 <web-app>
   <display-name>Jetspeed-2 Enterprise Portal</display-name>	
+  
+  <!-- Log4JConfigurator context-listener parameters -->    
+  <context-param>
+    <param-name>log4j.config.file</param-name>
+    <param-value>/WEB-INF/conf/Log4j.properties</param-value>
+  </context-param>
+  <context-param>
+    <param-name>log4j.config.webApplicationRoot.key</param-name>
+    <param-value>applicationRoot</param-value>
+  </context-param>
+  
   <filter>
     <filter-name>AJAXFilter</filter-name>
     <filter-class>org.apache.jetspeed.ajax.AJAXFilter</filter-class>   
@@ -41,6 +52,10 @@
     <url-pattern>/*</url-pattern>    
   </filter-mapping>  
 -->    
+  
+  <listener>
+    <listener-class>org.apache.jetspeed.webapp.logging.Log4JConfigurator</listener-class>
+  </listener>
   
   <listener>
     <listener-class>org.apache.jetspeed.engine.JetspeedServlet</listener-class>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message