[Yanel-commits] rev 24180 - public/yanel/trunk/src/build
michi at wyona.com
michi at wyona.com
Fri May 4 16:26:23 CEST 2007
Author: michi
Date: 2007-05-04 16:26:20 +0200 (Fri, 04 May 2007)
New Revision: 24180
Modified:
public/yanel/trunk/src/build/build.xml
Log:
log4j settings fixed
Modified: public/yanel/trunk/src/build/build.xml
===================================================================
--- public/yanel/trunk/src/build/build.xml 2007-05-04 14:26:15 UTC (rev 24179)
+++ public/yanel/trunk/src/build/build.xml 2007-05-04 14:26:20 UTC (rev 24180)
@@ -218,7 +218,8 @@
<mkdir dir="${build.dir}"/>
<property name="classes.dir" location="${build.dir}/classes"/>
<property name="log4j.path" location="${build.dir}/logs"/>
- <property name="log4j.file" location="${log4j.path}/log4j.log"/>
+ <mkdir dir="${log4j.path}"/>
+ <property name="log4j.file" location="${log4j.path}/log4j-cmdl.log"/>
<path id="log4j.file.ref">
<pathelement location="${log4j.file}"/>
</path>
@@ -427,7 +428,6 @@
<replace file="${build.dir}/webapps/${servlet.context.prefix}/WEB-INF/classes/log4j.properties" value="${log4j.file.forward.slashes}">
<replacetoken>@LOG4J_FILE@</replacetoken>
</replace>
- <mkdir dir="${log4j.path}"/>
<touch file="${log4j.file}"/>
<copy todir="${build.dir}/webapps/${servlet.context.prefix}/WEB-INF/lib">
@@ -545,7 +545,7 @@
</copy>
<replace file="${tomcat1.webapps.dir}/${servlet.context.prefix}/WEB-INF/classes/log4j.properties" value="log4j-cnode1.log">
- <replacetoken>log4j.log</replacetoken>
+ <replacetoken>log4j-cmdl.log</replacetoken>
</replace>
<touch file="${log4j.path}/log4j-cnode1.log"/>
@@ -599,7 +599,7 @@
</copy>
<replace file="${tomcat2.webapps.dir}/${servlet.context.prefix}/WEB-INF/classes/log4j.properties" value="log4j-cnode2.log">
- <replacetoken>log4j.log</replacetoken>
+ <replacetoken>log4j-cmdl.log</replacetoken>
</replace>
<touch file="${log4j.path}/log4j-cnode2.log"/>
More information about the Yanel-commits
mailing list