maoling created ZOOKEEPER-3722: ---------------------------------- Summary: make logs of ResponseCache more readable Key: ZOOKEEPER-3722 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3722 Project: ZooKeeper Issue Type: Bug Components: server Reporter: maoling
The logs look like redundant: {code:java} 2020-02-12 16:16:09,208 [myid:3] - INFO [QuorumPeer[myid=3](plain=[0:0:0:0:0:0:0:0]:2183)(secure=disabled):ResponseCache@45] - Response cache size is initialized with value 400. 2020-02-12 16:16:09,208 [myid:3] - INFO [QuorumPeer[myid=3](plain=[0:0:0:0:0:0:0:0]:2183)(secure=disabled):ResponseCache@45] - Response cache size is initialized with value 400.{code} What we want is: {code:java} 2020-02-12 16:16:09,208 [myid:3] - INFO [QuorumPeer[myid=3](plain=[0:0:0:0:0:0:0:0]:2183)(secure=disabled):ResponseCache@45] - getData Response cache size is initialized with value 400. 2020-02-12 16:16:09,208 [myid:3] - INFO [QuorumPeer[myid=3](plain=[0:0:0:0:0:0:0:0]:2183)(secure=disabled):ResponseCache@45] - getChild Response cache size is initialized with value 400. {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)