You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Nishanth Entoor (Jira)" <ji...@apache.org> on 2020/01/22 21:30:00 UTC
[jira] [Assigned] (ZOOKEEPER-2907) Logged request buffer isn't
useful
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nishanth Entoor reassigned ZOOKEEPER-2907:
------------------------------------------
Assignee: Nishanth Entoor
> Logged request buffer isn't useful
> ----------------------------------
>
> Key: ZOOKEEPER-2907
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2907
> Project: ZooKeeper
> Issue Type: Improvement
> Components: server
> Affects Versions: 3.4.10, 3.5.3
> Reporter: Jordan Zimmerman
> Assignee: Nishanth Entoor
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> There are two places in the server code that log request errors with a message ala "Dumping request buffer..." followed by a hex dump of the request buffer. There are 2 major problems with this output:
> # The request type is not output
> # The byte-to-hex inline code doesn't pad numbers < 16
> These two combine to make the output data nearly useless.
> PrepRequestProcessor#pRequest() and FinalRequestProcessor#processRequest()
--
This message was sent by Atlassian Jira
(v8.3.4#803005)