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

michi at wyona.com michi at wyona.com
Mon Jan 25 12:44:42 CET 2010


Author: michi
Date: 2010-01-25 12:44:42 +0100 (Mon, 25 Jan 2010)
New Revision: 47225

Modified:
   public/yanel/trunk/src/build/targets/webapp/cluster.xml
Log:
log access can now be configured within local.web.xml

Modified: public/yanel/trunk/src/build/targets/webapp/cluster.xml
===================================================================
--- public/yanel/trunk/src/build/targets/webapp/cluster.xml	2010-01-25 11:43:36 UTC (rev 47224)
+++ public/yanel/trunk/src/build/targets/webapp/cluster.xml	2010-01-25 11:44:42 UTC (rev 47225)
@@ -25,7 +25,6 @@
     <touch file="${log4j.path}/404-cnode1.log"/>
 
     <touch file="${log4j.path}/access-cnode1.log"/>
-    <antcall target="enable-access-log-cnode1"/>
 
     <antcall target="patch-tomcat-cluster-node-1-ssl-port"/>
     
@@ -54,26 +53,6 @@
     </copy>
   </target>
 
-  <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"
-          style="enable-access-log.xsl">
-      <param name="log-access" expression="${log-access}"/>
-    </xslt>
-    <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"
@@ -117,7 +96,6 @@
     <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