Add new 'spring-geode-starter-logging' and 'spring-gemfire-starter-logging' modules.

The new modules enable logging output to be rendered for both Apache Geode & Pivotal GemFire given the right configuration now that the SDG @EnableLogging annotaiton is effectively deprecated since the corresponding GemFire/Geode properties (i.e. gemfire.log-level) no longer have any effect.

Resolves gh-73.
This commit is contained in:
John Blum
2020-02-07 13:23:05 -08:00
parent f21900d0c8
commit c023a22455
4 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="false">
<statusListener class="ch.qos.logback.core.status.NopStatusListener"/>
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d %5p %40.40c:%4L - %m%n</pattern>
</encoder>
</appender>
<logger name="com.gemstone.gemfire" level="${spring.boot.data.gemfire.log.level:-INFO}" additivity="false"/>
<logger name="org.apache.geode" level="${spring.boot.data.gemfire.log.level:-INFO}" additivity="false"/>
<logger name="org.jgroups" level="${spring.boot.data.gemfire.jgroups.log.level:-ERROR}" additivity="false"/>
<root level="${logback.root.log.level:-ERROR}">
<appender-ref ref="console"/>
</root>
</configuration>