[Yanel-commits] rev 45861 -
public/yanel/trunk/src/build/targets/webapp
michi at wyona.com
michi at wyona.com
Sun Dec 6 12:21:52 CET 2009
Author: michi
Date: 2009-12-06 12:21:51 +0100 (Sun, 06 Dec 2009)
New Revision: 45861
Modified:
public/yanel/trunk/src/build/targets/webapp/cluster.xml
Log:
enable access log for cnode2 fixed
Modified: public/yanel/trunk/src/build/targets/webapp/cluster.xml
===================================================================
--- public/yanel/trunk/src/build/targets/webapp/cluster.xml 2009-12-06 11:02:00 UTC (rev 45860)
+++ public/yanel/trunk/src/build/targets/webapp/cluster.xml 2009-12-06 11:21:51 UTC (rev 45861)
@@ -25,7 +25,7 @@
<touch file="${log4j.path}/404-cnode1.log"/>
<touch file="${log4j.path}/access-cnode1.log"/>
- <antcall target="enable-access-log"/>
+ <antcall target="enable-access-log-cnode1"/>
<antcall target="patch-tomcat-cluster-node-1-ssl-port"/>
@@ -54,7 +54,7 @@
</copy>
</target>
- <target name="enable-access-log">
+ <target name="enable-access-log-cnode1">
<echo>Enable access log</echo>
<xslt in="${tomcat1.home.dir}/webapps/${servlet.context.prefix}/WEB-INF/web.xml"
out="${tomcat1.home.dir}/webapps/${servlet.context.prefix}/WEB-INF/web.xml.tmp"
@@ -64,6 +64,16 @@
<move file="${tomcat1.home.dir}/webapps/${servlet.context.prefix}/WEB-INF/web.xml.tmp" tofile="${tomcat1.home.dir}/webapps/${servlet.context.prefix}/WEB-INF/web.xml"/>
</target>
+ <target name="enable-access-log-cnode2">
+ <echo>Enable access log</echo>
+ <xslt in="${tomcat2.home.dir}/webapps/${servlet.context.prefix}/WEB-INF/web.xml"
+ out="${tomcat2.home.dir}/webapps/${servlet.context.prefix}/WEB-INF/web.xml.tmp"
+ style="enable-access-log.xsl">
+ <param name="log-access" expression="${log-access}"/>
+ </xslt>
+ <move file="${tomcat2.home.dir}/webapps/${servlet.context.prefix}/WEB-INF/web.xml.tmp" tofile="${tomcat2.home.dir}/webapps/${servlet.context.prefix}/WEB-INF/web.xml"/>
+ </target>
+
<target name="patch-tomcat-cluster-node-1-ssl-port" if="property-tomcat1-ssl-port-is-set">
<echo>SSL port for tomcat is set</echo>
<xslt in="${tomcat1.home.dir}/webapps/${servlet.context.prefix}/WEB-INF/web.xml"
@@ -107,6 +117,7 @@
<touch file="${log4j.path}/404-cnode2.log"/>
<touch file="${log4j.path}/access-cnode2.log"/>
+ <antcall target="enable-access-log-cnode2"/>
<antcall target="patch-tomcat-cluster-node-2-ssl-port"/>
More information about the Yanel-commits
mailing list