Add a logback configuration to avoid spitting so much garbage to the term when testing
This commit is contained in:
parent
d3d5ea981a
commit
8299994e5a
|
@ -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) {
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue