Reduce output during test

Instead of Log4j2 use the SLF4J NOP logger. This will disable logging output,
this will cleanup the output during a build.
This commit is contained in:
Marten Deinum
2022-12-06 13:45:26 +01:00
committed by GitHub
parent 3ed5093daa
commit cd72a2851d

View File

@@ -50,7 +50,7 @@
<!-- Test Dependencies -->
<assertj.version>3.18.1</assertj.version>
<junit.jupiter.version>5.8.2</junit.jupiter.version>
<log4j.version>2.17.1</log4j.version>
<slf4j.version>1.7.36</log4j.version>
<mockito.version>3.11.0</mockito.version>
</properties>
@@ -106,9 +106,9 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j.version}</version>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
</dependencies>