Quiet down integration test logging

This commit is contained in:
David Turanski
2022-03-02 13:32:28 -05:00
committed by Chris Bono
parent 3ad9800b85
commit b8cb30fa9e
19 changed files with 242 additions and 40 deletions

View File

@@ -14,9 +14,7 @@
<version>3.2.1-SNAPSHOT</version>
<relativePath/>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.cloud.fn</groupId>
<artifactId>geode-supplier</artifactId>
@@ -35,9 +33,13 @@
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-geode-test</artifactId>
<version>${spring-data-geode-test.version}</version>
<groupId>org.springframework.geode</groupId>
<artifactId>spring-geode-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.geode</groupId>
<artifactId>spring-geode-starter-logging</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

View File

@@ -57,7 +57,7 @@ public class GeodeSourceTests {
@BeforeAll
static void setup() throws IOException {
ForkingClientServerIntegrationTestsSupport.startGemFireServer(
GeodeServerTestConfiguration.class);
GeodeServerTestConfiguration.class, "-Dspring.data.gemfire.logging.level=warn");
applicationContextRunner = new ApplicationContextRunner()
.withUserConfiguration(

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<included>
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<appender name="delegate" class="org.springframework.geode.logging.slf4j.logback.DelegatingAppender"/>
<logger name="com.gemstone.gemfire" level="${spring.boot.data.gemfire.log.level:-WARN}"/>
<logger name="org.apache.geode" level="${spring.boot.data.gemfire.log.level:-WARN}"/>
<logger name="org.jgroups" level="${spring.boot.data.gemfire.jgroups.log.level:-ERROR}"/>
</included>