Patrick Hunt updated ZOOKEEPER-654:

    Attachment: ZOOKEEPER-495.patch

I updated the code to only output for non-session events. session event's don't 
have paths (zero len str)

No tests as the current tests were causing this error to be output, I verified 
that the log is not being output in this case.

> Tests should not rely on CONSOLE appender being present
> -------------------------------------------------------
>                 Key: ZOOKEEPER-654
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-654
>             Project: Zookeeper
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>            Reporter: Henry Robinson
>            Priority: Minor
>         Attachments: ZOOKEEPER-495.patch
> Tests have been failing for us in an environment where we removed the CONSOLE 
> appender from log4j. This breaks a couple of tests in QuorumPeerMainTest at 
> least.
> I have fixed in our builds by replacing CONSOLE with ROLLINGFILE (which we 
> are using) for the time being, but messing with the log config shouldn't 
> break tests. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to