DATAMONGO-576 - Configure java.util.logging to prevent verbose test logging.

Added Slf4j bridge and configured surefire to configure JUL accordingly.
This commit is contained in:
Oliver Gierke
2012-11-23 10:50:29 +01:00
parent 936259a766
commit 772a140def
2 changed files with 10 additions and 0 deletions

View File

@@ -161,6 +161,12 @@
<version>${org.slf4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>${org.slf4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
@@ -259,6 +265,9 @@
<exclude>**/PerformanceTests.java</exclude>
</excludes>
<junitArtifactName>junit:junit-dep</junitArtifactName>
<systemPropertyVariables>
<java.util.logging.config.file>src/test/resources/logging.properties</java.util.logging.config.file>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>

View File

@@ -0,0 +1 @@
handlers = org.slf4j.bridge.SLF4JBridgeHandler