fixed the log directories so they're configurable
This commit is contained in:
parent
8fdf4d9e0e
commit
470b7cc47e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
*.log
|
||||
assembly
|
||||
build.properties
|
||||
jars
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
# compile.optimize=on
|
||||
# build.compiler=modern
|
||||
|
||||
# [Logging directory]
|
||||
# logfile.dir=${user.home}
|
||||
|
||||
# [Location of Servlet API 2.3]
|
||||
servlet.base=/usr/local/jakarta/jakarta-tomcat-4.1.24-LE-jdk14
|
||||
servlet.lib=${servlet.base}/common/lib
|
||||
|
|
21
build.xml
21
build.xml
|
@ -34,6 +34,9 @@
|
|||
<property name="compile.optimize" value="off"/>
|
||||
<property name="build.compiler" value="modern"/>
|
||||
|
||||
<!-- [Logging directory] -->
|
||||
<property name="logfile.dir" value="${user.home}"/>
|
||||
|
||||
<!-- [Location of Servlet API 2.3] -->
|
||||
<property name="servlet.base" value="../servletapi"/>
|
||||
<property name="servlet.lib" value="${servlet.base}/lib"/>
|
||||
|
@ -290,7 +293,11 @@
|
|||
</copy>
|
||||
<copy file="jars/dynamo-test-module.jar" todir="assembly/testapp/WEB-INF/modules"/>
|
||||
<copy file="conf/dynamo-test.xml" tofile="assembly/testapp/WEB-INF/dynamo.xml"/>
|
||||
<copy file="conf/logging-test.xml" tofile="assembly/testapp/WEB-INF/logging.xml"/>
|
||||
<copy file="conf/logging-test.xml" tofile="assembly/testapp/WEB-INF/logging.xml">
|
||||
<filterset>
|
||||
<filter token="LOGDIR" value="${logfile.dir}"/>
|
||||
</filterset>
|
||||
</copy>
|
||||
<copy file="conf/web-test.xml" tofile="assembly/testapp/WEB-INF/web.xml"/>
|
||||
<copy todir="assembly/testapp/WEB-INF">
|
||||
<fileset dir="test-data" includes="**/*"/>
|
||||
|
@ -319,7 +326,11 @@
|
|||
<fileset dir="${velocity.lib}" includes="${velocity.jarfile}"/>
|
||||
</copy>
|
||||
<copy file="conf/dynamo-venice.xml" tofile="assembly/venice/WEB-INF/dynamo.xml"/>
|
||||
<copy file="conf/logging-venice.xml" tofile="assembly/venice/WEB-INF/logging.xml"/>
|
||||
<copy file="conf/logging-venice.xml" tofile="assembly/venice/WEB-INF/logging.xml">
|
||||
<filterset>
|
||||
<filter token="LOGDIR" value="${logfile.dir}"/>
|
||||
</filterset>
|
||||
</copy>
|
||||
<copy file="conf/web-venice.xml" tofile="assembly/venice/WEB-INF/web.xml"/>
|
||||
<copy todir="assembly/venice/WEB-INF">
|
||||
<fileset dir="venice-data" includes="**/*"/>
|
||||
|
@ -376,7 +387,6 @@
|
|||
</copy>
|
||||
<copy todir="assembly/venice-sp/WEB-INF">
|
||||
<fileset dir="conf-sso/sp">
|
||||
<include name="logging.xml"/>
|
||||
<include name="dynamo.xml"/>
|
||||
<include name="web.xml"/>
|
||||
<include name="sourceid-sso.xml"/>
|
||||
|
@ -384,6 +394,11 @@
|
|||
<include name="venice-sp.keystore"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy file="conf-sso/sp/logging.xml" todir="assembly/venice-sp/WEB-INF">
|
||||
<filterset>
|
||||
<filter token="LOGDIR" value="${logfile.dir}"/>
|
||||
</filterset>
|
||||
</copy>
|
||||
<copy file="${sourceid.base}/conf/server-config.wsdd" todir="assembly/venice-sp/WEB-INF"
|
||||
preservelastmodified="yes"/>
|
||||
<copy todir="assembly/venice-sp/WEB-INF">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
Copyright (C) 2001-03 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
<!-- Define the standard file appender. -->
|
||||
<appender name="STDLOG" class="org.apache.log4j.RollingFileAppender">
|
||||
<param name="File" value="/home/erbo/code/nvx/venice-sp.log"/>
|
||||
<param name="File" value="@LOGDIR@/venice-sp.log"/>
|
||||
<param name="Append" value="true"/>
|
||||
<param name="MaxFileSize" value="10MB"/>
|
||||
<param name="MaxBackupIndex" value="5"/>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
Copyright (C) 2001-03 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
<!-- Define the standard file appender. -->
|
||||
<appender name="STDLOG" class="org.apache.log4j.RollingFileAppender">
|
||||
<param name="File" value="/home/erbo/code/nvx/testapp.log"/>
|
||||
<param name="File" value="@LOGDIR@/testapp.log"/>
|
||||
<param name="Append" value="true"/>
|
||||
<param name="MaxFileSize" value="10MB"/>
|
||||
<param name="MaxBackupIndex" value="5"/>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
Copyright (C) 2001-03 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
-->
|
||||
|
@ -21,7 +21,7 @@
|
|||
|
||||
<!-- Define the standard file appender. -->
|
||||
<appender name="STDLOG" class="org.apache.log4j.RollingFileAppender">
|
||||
<param name="File" value="/home/erbo/code/nvx/venice.log"/>
|
||||
<param name="File" value="@LOGDIR@/venice.log"/>
|
||||
<param name="Append" value="true"/>
|
||||
<param name="MaxFileSize" value="10MB"/>
|
||||
<param name="MaxBackupIndex" value="5"/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user