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

ASF GitHub Bot updated ZOOKEEPER-3722:
--------------------------------------
    Labels: pull-request-available  (was: )

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