DATAGEODE-180 - Add null, no-op Appender to JUL, Log4j and Logback logging configuration.

Speed up GemFireDataSourceUsingNonSpringConifguredGemFireServerIntegationTests.

Refactor test framework supporting classes.
This commit is contained in:
John Blum
2019-04-10 20:53:38 -07:00
parent 626076b05e
commit a7d7b430eb
8 changed files with 75 additions and 69 deletions

View File

@@ -6,11 +6,14 @@
<File name="File" fileName="build/logs/spring-test.log">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{1.} - %msg%n"/>
</File>
<Null name="nop"/>
</Appenders>
<Loggers>
<Logger name="org.apache.geode" level="error"/>
<Logger name="org.springframework" level="error"/>
<Logger name="org.springframework.data.gemfire.support.SpringContextBootstrappingInitializer" level="off"/>
<Logger name="org.springframework.data.gemfire.support.SpringContextBootstrappingInitializer" level="off">
<AppenderRef ref="nop"/>
</Logger>
<Root level="error">
<AppenderRef ref="Console"/>
<!--AppenderRef ref="File" /-->