You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "John Blum (JIRA)" <ji...@apache.org> on 2019/04/24 01:00:00 UTC
[jira] [Created] (GEODE-6700) Reduce verbose and unnecessary log
output
John Blum created GEODE-6700:
--------------------------------
Summary: 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
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)