setting filter handling logs to trace (#2914)

This commit is contained in:
gabrielmer 2024-07-17 13:29:53 +03:00 committed by Ivan Folgueira Bande
parent 706055dc5e
commit b9235995c9
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7
1 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ proc handleMessage*(
) {.async.} = ) {.async.} =
let msgHash = computeMessageHash(pubsubTopic, message).to0xHex() let msgHash = computeMessageHash(pubsubTopic, message).to0xHex()
notice "handling message", pubsubTopic = pubsubTopic, msg_hash = msgHash trace "handling message", pubsubTopic = pubsubTopic, msg_hash = msgHash
let handleMessageStartTime = Moment.now() let handleMessageStartTime = Moment.now()
@ -236,7 +236,7 @@ proc handleMessage*(
let subscribedPeers = let subscribedPeers =
wf.subscriptions.findSubscribedPeers(pubsubTopic, message.contentTopic) wf.subscriptions.findSubscribedPeers(pubsubTopic, message.contentTopic)
if subscribedPeers.len == 0: if subscribedPeers.len == 0:
notice "no subscribed peers found", trace "no subscribed peers found",
pubsubTopic = pubsubTopic, pubsubTopic = pubsubTopic,
contentTopic = message.contentTopic, contentTopic = message.contentTopic,
msg_hash = msgHash msg_hash = msgHash