mirror of https://github.com/waku-org/nwaku.git
chore: add payload bytes to trace log (#1703)
This commit is contained in:
parent
dca0e9b2cc
commit
c6d291d3f3
|
@ -240,7 +240,8 @@ proc registerRelayDefaultHandler(node: WakuNode, topic: PubsubTopic) =
|
|||
peerId=node.peerId,
|
||||
pubsubTopic=topic,
|
||||
hash=topic.digest(msg).to0xHex(),
|
||||
receivedTime=getNowInNanosecondTime()
|
||||
receivedTime=getNowInNanosecondTime(),
|
||||
payloadSizeBytes=msg.payload.len
|
||||
|
||||
let msgSizeKB = msg.payload.len/1000
|
||||
|
||||
|
|
Loading…
Reference in New Issue