You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (Commented) (JIRA)" <ji...@apache.org> on 2011/11/04 21:01:52 UTC

[jira] [Commented] (ZOOKEEPER-1288) Always log sessionId and zxid as hexadecimals

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144284#comment-13144284 ] 

Patrick Hunt commented on ZOOKEEPER-1288:
-----------------------------------------

it's a bug if they are not logged as hex. I've done passes before looking for these and changing over when we print decimal, but it's error prone (both finding and keeping new dec refs from creeping in).
                
> Always log sessionId and zxid as hexadecimals
> ---------------------------------------------
>
>                 Key: ZOOKEEPER-1288
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1288
>             Project: ZooKeeper
>          Issue Type: Sub-task
>            Reporter: Thomas Koch
>            Assignee: Thomas Koch
>
> At some points, sessionIds or zxid are written in decimal numbers to the log but most of the time as hexadecimals. It's an unnecessary hassle to manually convert these numbers to find additional log lines referring the same numbers. Or worse people may not know that there may be additional information available if they also search for the decimal representation of a number.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira