[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-3722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Han resolved ZOOKEEPER-3722.
------------------------------------
    Fix Version/s: 3.7.0
       Resolution: Fixed

Issue resolved by pull request 1253
[https://github.com/apache/zookeeper/pull/1253]

> make logs of ResponseCache more readable
> ----------------------------------------
>
>                 Key: ZOOKEEPER-3722
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3722
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: maoling
>            Assignee: Nishanth Entoor
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.7.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to