Ling Mao created ZOOKEEPER-4280:
-----------------------------------

             Summary: fix the log format in the DataTree#deserializeZxidDigest 
method
                 Key: ZOOKEEPER-4280
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4280
             Project: ZooKeeper
          Issue Type: Improvement
          Components: server
    Affects Versions: 3.8.0
            Reporter: Ling Mao
             Fix For: 3.8.0


{code:java}
2021-04-06 14:32:11,614 [myid:] - INFO  [main:DataTree@1709] - The digest in 
the snapshot has digest version of 2, , with zxid as 0x665de6, and digest value 
as 5123823304934446
{code}
{code:java}
# we should fix the malformed log format.
LOG.info("The digest in the snapshot has digest version of {}, " + ", with zxid 
as 0x{}, and digest value as {}", digestFromLoadedSnapshot.digestVersion, 
Long.toHexString(digestFromLoadedSnapshot.zxid), 
digestFromLoadedSnapshot.digest);
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to