[Yanel-commits] rev 21773 - public/yanel/trunk/src/build
michi at wyona.com
michi at wyona.com
Tue Jan 16 00:41:18 CET 2007
Author: michi
Date: 2007-01-16 00:41:16 +0100 (Tue, 16 Jan 2007)
New Revision: 21773
Modified:
public/yanel/trunk/src/build/build.xml
Log:
patch log4j during deployment such that each Tomcat can have its own log4j
Modified: public/yanel/trunk/src/build/build.xml
===================================================================
--- public/yanel/trunk/src/build/build.xml 2007-01-15 23:32:55 UTC (rev 21772)
+++ public/yanel/trunk/src/build/build.xml 2007-01-15 23:41:16 UTC (rev 21773)
@@ -523,6 +523,12 @@
<copy todir="${tomcat1.webapps.dir}/${servlet.context.prefix}">
<fileset dir="${yanel.home.dir}/build/webapps/${servlet.context.prefix}"/>
</copy>
+
+ <replace file="${tomcat1.webapps.dir}/${servlet.context.prefix}/WEB-INF/classes/log4j.properties" value="log4j-cnode1.log">
+ <replacetoken>log4j.log</replacetoken>
+ </replace>
+ <touch file="${log4j.path}/log4j-cnode1.log"/>
+
<antcall target="patch-tomcat-cluster-node-1-ssl-port"/>
<condition property="ask-to-copy-endorsed-xerces-to-node1">
@@ -571,6 +577,12 @@
<copy todir="${tomcat2.webapps.dir}/${servlet.context.prefix}">
<fileset dir="${yanel.home.dir}/build/webapps/${servlet.context.prefix}"/>
</copy>
+
+ <replace file="${tomcat2.webapps.dir}/${servlet.context.prefix}/WEB-INF/classes/log4j.properties" value="log4j-cnode2.log">
+ <replacetoken>log4j.log</replacetoken>
+ </replace>
+ <touch file="${log4j.path}/log4j-cnode2.log"/>
+
<antcall target="patch-tomcat-cluster-node-2-ssl-port"/>
<condition property="ask-to-copy-endorsed-xerces-node2">
More information about the Yanel-commits
mailing list