make test logging more verbose, but disable java logging totally (for now). Can be changed in testlogging.properties

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922977 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2010-03-14 22:08:20 +00:00
parent 1af8a5b59b
commit 7fab7e2cc5
2 changed files with 7 additions and 2 deletions

View File

@ -31,11 +31,11 @@
<!-- Destination for distribution files (demo WAR, src distro, etc.) --> <!-- Destination for distribution files (demo WAR, src distro, etc.) -->
<property name="dist" location="dist" /> <property name="dist" location="dist" />
<property name="clover.db.dir" location="${dest}/tests/clover/db"/> <property name="clover.db.dir" location="${dest}/tests/clover/db"/>
<property name="clover.report.dir" location="${dest}/tests/clover/reports"/> <property name="clover.report.dir" location="${dest}/tests/clover/reports"/>
<property name="junit.details" value="1"/>
<available <available
property="clover.present" property="clover.present"
classname="com.cenqua.clover.tasks.CloverReportTask" classname="com.cenqua.clover.tasks.CloverReportTask"
@ -393,6 +393,7 @@
failureProperty="tests.failed" failureProperty="tests.failed"
dir="src/test/test-files/" dir="src/test/test-files/"
> >
<sysproperty key="java.util.logging.config.file" value="${common.dir}/testlogging.properties"/>
<jvmarg line="${args}"/> <jvmarg line="${args}"/>
<formatter type="brief" usefile="false" if="junit.details"/> <formatter type="brief" usefile="false" if="junit.details"/>
<classpath refid="test.run.classpath"/> <classpath refid="test.run.classpath"/>

4
testlogging.properties Normal file
View File

@ -0,0 +1,4 @@
handlers=java.util.logging.ConsoleHandler
.level=OFF
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter