Add a logback configuration to avoid spitting so much garbage to the term when testing

This commit is contained in:
R. Tyler Croy 2014-10-12 13:28:25 -07:00
parent d3d5ea981a
commit 8299994e5a
2 changed files with 12 additions and 0 deletions

View File

@ -69,6 +69,7 @@ test {
}
systemProperties TESTROOT : new File(buildDir,'tmp/test/unittests').absolutePath
systemProperties WARBLER_LOCATION : testWarblerDir.absolutePath
systemProperties 'logback.configurationFile' : new File(projectDir,'src/test/resources/logback-test.xml').absolutePath
}
task sourcesJar(type: Jar, dependsOn: classes) {

View File

@ -0,0 +1,11 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<root level="info">
<appender-ref ref="STDOUT" />
</root>
</configuration>