Log4j2 property for config file
authorJim Procter <j.procter@dundee.ac.uk>
Fri, 17 Dec 2021 11:21:40 +0000 (11:21 +0000)
committerJim Procter <j.procter@dundee.ac.uk>
Fri, 17 Dec 2021 11:21:40 +0000 (11:21 +0000)
build.xml

index d5c73a4..7d96142 100644 (file)
--- a/build.xml
+++ b/build.xml
        <target name="clearStatDB" description="Remove all records from statistics database">
                <echo>Cleaning Statistics database</echo>
                <java classname="compbio.stat.collector.StatDB" fork="true" failonerror="true" classpath="${classes}">
-                       <jvmarg value="-Dlog4j.configuration=file:log/log4j.properties.statdb" />
+                       <jvmarg value="-Dlog4j.configurationFile=log/log4j.properties.statdb" />
                        <classpath refid="project.classpath" />
                </java>
        </target>