<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.configurationFile=log/log4j.properties.statdb" />
+ <jvmarg value="-Dlog4j.configurationFile=log/log4j.statdb.properties" />
<classpath refid="project.classpath" />
</java>
</target>
## FATAL - log fatal events only\r
\r
##################################################################################################################################\r
-log4j.rootLogger=ERROR, R\r
-log4j.appender.R=org.apache.log4j.FileAppender\r
-log4j.appender.R.File=logs/StatDBcleaningErrorFile.log\r
-log4j.appender.R.layout=org.apache.log4j.PatternLayout\r
-log4j.appender.R.layout.ConversionPattern=%m%n %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - \r
+\r
+appender.R.type = File\r
+appender.R.name = R\r
+appender.R.fileName = logs/StatDBcleaningErrorFile.log\r
+appender.R.layout.type = PatternLayout\r
+appender.R.layout.pattern = %m%n %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - \r
\r
# %d{ABSOLUTE} %5p %c{1}:%L -\r
-log4j.logger.compbio=WARN, B\r
-log4j.appender.B=org.apache.log4j.FileAppender\r
-log4j.appender.B.File=logs/StatDBcleaningWarningFile.log\r
-log4j.appender.B.layout=org.apache.log4j.PatternLayout\r
-log4j.appender.B.layout.ConversionPattern=%m%n %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - \r
+appender.B.name = B\r
+appender.B.type = File\r
+appender.B.fileName = logs/StatDBcleaningWarningFile.log\r
+appender.B.layout.type = PatternLayout\r
+appender.B.layout.pattern = %m%n %d{MM-dd@HH:mm:ss} %-5p (%13F:%L) %3x - \r
+\r
+logger.compbio.name = compbio\r
+logger.compbio.level = WARN\r
+logger.compbio.appenderRef = B\r
+\r
+rootLogger.level = info\r
+rootLogger.appenderRef = R\r