You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (Jira)" <ji...@apache.org> on 2019/09/13 17:25:00 UTC
[jira] [Updated] (GEODE-6700) Reduce verbose and unnecessary log
output
[ https://issues.apache.org/jira/browse/GEODE-6700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker updated GEODE-6700:
---------------------------------
Labels: Log4j Logging affects-spring (was: Log4j Logging)
> Reduce verbose and unnecessary log output
> -----------------------------------------
>
> Key: GEODE-6700
> URL: https://issues.apache.org/jira/browse/GEODE-6700
> Project: Geode
> Issue Type: Wish
> Reporter: John Blum
> Priority: Major
> Labels: Log4j, Logging, affects-spring
>
> When starting an Apache Geode {{ClientCache}} application with the following Log4j configuration:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <Configuration status="error">
> <Appenders>
> <Console name="Console" target="SYSTEM_OUT">
> <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{1.} - %msg%n"/>
> </Console>
> <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" level="error"/>
> <Root level="error">
> <AppenderRef ref="Console"/>
> <!--AppenderRef ref="File" /-->
> </Root>
> </Loggers>
> </Configuration>
> {code}
> Apache Geode still outputs the following, useless error messages:
> {code:java}
> 17:54:55.302 [main] ERROR o.a.g.c.c.i.QueueManagerImpl - Could not find any server to create primary client queue on. Number of excluded servers is 1 and exception is no exception.
> 17:54:55.304 [main] ERROR o.a.g.c.c.i.QueueManagerImpl - Could not initialize a primary queue on startup. No queue servers available.
> {code}
> The reason this is useless in my UC is because my client application is entirely local, i.e. only contains {{LOCAL}} Regions.
> At best, the log messages should maybe only be logged at "warn".
--
This message was sent by Atlassian Jira
(v8.3.2#803003)