Skip to content

hex vs dec #232

@ygrek

Description

@ygrek

new protocol sends numbers in hex over the wire. Now the logs are harder to correlate with network events - because numbers in log are decimal (but actually not always, sometimes in hex too!) :

09-24-2018 02:55:08.239 DEBUG - (ClientSM.cc:278) C177429C 5.188.15.134:53844 -req: status: 0  buffers: 4096 write-id-alloc: seq: 3966475319232917609 client-seq: 743518551791084071 chunk: 288317120 version: 1 servers: 5.188.15.134 521a 5.188.12.211 5216 status: 0 msg:  took: 0 usec.

I understand this was done to save bandwidth apparently, but it is quite confusing/inconvenient now, every grep needs to be done twice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions