incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kelv...@apache.org
Subject git commit: refs/heads/master - CLOUDSTACK-1333: enable logging at Spring startup phase
Date Wed, 20 Feb 2013 01:48:26 GMT
Updated Branches:
  refs/heads/master 4d80b71ec -> 73d5926d0


CLOUDSTACK-1333: enable logging at Spring startup phase


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/73d5926d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/73d5926d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/73d5926d

Branch: refs/heads/master
Commit: 73d5926d0fa9913b5c50037c9222189c42232f3f
Parents: 4d80b71
Author: Kelven Yang <kelveny@gmail.com>
Authored: Tue Feb 19 20:47:57 2013 -0500
Committer: Kelven Yang <kelveny@gmail.com>
Committed: Tue Feb 19 20:48:10 2013 -0500

----------------------------------------------------------------------
 client/WEB-INF/web.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/73d5926d/client/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/client/WEB-INF/web.xml b/client/WEB-INF/web.xml
index 0d75165..626305b 100644
--- a/client/WEB-INF/web.xml
+++ b/client/WEB-INF/web.xml
@@ -19,6 +19,14 @@
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
     version="2.5">
+   
+    <context-param>  
+      <param-name>log4jConfigLocation</param-name>  
+      <param-value>/WEB-INF/classes/log4j-cloud.xml</param-value>  
+    </context-param>  
+    <listener>  
+      <listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
 
+    </listener>  
     
 	<listener>
   	  <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>


Mime
View raw message