You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ke...@apache.org on 2013/02/20 02:48:26 UTC
git commit: refs/heads/master - CLOUDSTACK-1333: enable logging at
Spring startup phase
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 <ke...@gmail.com>
Authored: Tue Feb 19 20:47:57 2013 -0500
Committer: Kelven Yang <ke...@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>