You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "maoling (Jira)" <ji...@apache.org> on 2020/02/12 08:34:00 UTC
[jira] [Updated] (ZOOKEEPER-3722) make logs of ResponseCache more
readable
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
maoling updated ZOOKEEPER-3722:
-------------------------------
Issue Type: Improvement (was: Bug)
> 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
> Priority: Minor
>
> 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)