[Yanel-commits] rev 45790 - public/yanel/trunk/src/build/targets/webapp

michi at wyona.com michi at wyona.com
Wed Dec 2 09:13:40 CET 2009


Author: michi
Date: 2009-12-02 09:13:38 +0100 (Wed, 02 Dec 2009)
New Revision: 45790

Modified:
   public/yanel/trunk/src/build/targets/webapp/cluster.xml
Log:
access log has no cluster node ID in it

Modified: public/yanel/trunk/src/build/targets/webapp/cluster.xml
===================================================================
--- public/yanel/trunk/src/build/targets/webapp/cluster.xml	2009-12-02 08:03:42 UTC (rev 45789)
+++ public/yanel/trunk/src/build/targets/webapp/cluster.xml	2009-12-02 08:13:38 UTC (rev 45790)
@@ -18,6 +18,11 @@
     </replace>
     <touch file="${log4j.path}/log4j-cnode1.log"/>
 
+    <replace file="${tomcat1.webapps.dir}/${servlet.context.prefix}/WEB-INF/classes/log4j.properties" value="1">
+      <replacetoken>@CNODE_ID@</replacetoken>
+    </replace>
+    <touch file="${log4j.path}/access-cnode1.log"/>
+
     <antcall target="patch-tomcat-cluster-node-1-ssl-port"/>
     
     <yanel:check-endorsed-jar jarId="stax-api"/>
@@ -81,6 +86,11 @@
     </replace>
     <touch file="${log4j.path}/log4j-cnode2.log"/>
 
+    <replace file="${tomcat1.webapps.dir}/${servlet.context.prefix}/WEB-INF/classes/log4j.properties" value="2">
+      <replacetoken>@CNODE_ID@</replacetoken>
+    </replace>
+    <touch file="${log4j.path}/access-cnode2.log"/>
+
     <antcall target="patch-tomcat-cluster-node-2-ssl-port"/>
 
     <yanel:check-endorsed-jar jarId="stax-api" serverNode="2"/>



More information about the Yanel-commits mailing list