DEBUG message for outstanding proposals in leader should be moved to trace.
---------------------------------------------------------------------------

                 Key: ZOOKEEPER-518
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-518
             Project: Zookeeper
          Issue Type: Bug
            Reporter: Mahadev konar
            Assignee: Mahadev konar
             Fix For: 3.3.0


this is the code in Leader.java 
{code}
 if (LOG.isDebugEnabled()) {
            LOG.debug("Ack zxid: 0x" + Long.toHexString(zxid));
            for (Proposal p : outstandingProposals.values()) {
                long packetZxid = p.packet.getZxid();
                LOG.debug("outstanding proposal: 0x"
                        + Long.toHexString(packetZxid));
            }
            LOG.debug("outstanding proposals all");
        }

{code}

We should move this debug to trace since it will cause really high latencies in 
response times from zookeeper servers in case folks want to use DEBUG logging 
for servers.


-- 
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