You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Jordan Zimmerman (JIRA)" <ji...@apache.org> on 2017/09/28 20:41:00 UTC

[jira] [Created] (ZOOKEEPER-2907) Logged request buffer isn't useful

Jordan Zimmerman created ZOOKEEPER-2907:
-------------------------------------------

             Summary: 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.5.3, 3.4.10
            Reporter: Jordan Zimmerman
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)