[ 
https://issues.apache.org/jira/browse/GEODE-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905679#comment-15905679
 ] 

Kirk Lund commented on GEODE-1274:
----------------------------------

Pulse appears to have its own log package containing its own version of 
LogWriter which delegates to JUL Logger. This entire package should be deleted 
and Pulse classes should be modified to use Log4j2 Loggers from Geode 
LogService.getLogger().


> Pulse logging does not appear in Geode log file.
> ------------------------------------------------
>
>                 Key: GEODE-1274
>                 URL: https://issues.apache.org/jira/browse/GEODE-1274
>             Project: Geode
>          Issue Type: Bug
>          Components: logging, pulse
>            Reporter: Jens Deppe
>              Labels: Log4j2
>
> While trying to enable debug logging for Pulse, I found that no Pulse logging 
> appears in the Geode log. The Admin REST logging does appear though.
> I had tried to enable debug logging by starting a locator with the followiing 
> log4j config:
> {noformat}
> <?xml version="1.0" encoding="UTF-8"?>
> <Configuration status="FATAL" shutdownHook="disable" 
> packages="com.gemstone.gemfire.internal.logging.log4j">
>   <Properties>
>     <Property name="gemfire-pattern">[%level{lowerCase=true} %date{yyyy/MM/dd 
> HH:mm:ss.SSS z} &lt;%thread&gt; tid=%tid] %message%n%throwable%n</Property>
>   </Properties>
>   <Appenders>
>     <Console name="STDOUT" target="SYSTEM_OUT">
>       <PatternLayout pattern="${gemfire-pattern}"/>
>     </Console>
>   </Appenders>
>   <Loggers>
>     <Logger name="com.gemstone" level="INFO" additivity="true">
>     <filters>
>       <MarkerFilter marker="GEMFIRE_VERBOSE" onMatch="DENY" 
> onMismatch="NEUTRAL"/>
>     </filters>
>     </Logger>
>     <Logger name="org.springframework" level="DEBUG" additivity="true"/>
>     <Root level="ERROR">
>       <AppenderRef ref="STDOUT"/>
>     </Root>
>   </Loggers>
> </Configuration>
> {noformat}
> However, only the Admin REST app produced debug log output. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to