Skip to content

Commit

Permalink
CCQ/Node: Remove excessive logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bruce-riley authored and panoel committed Nov 22, 2023
1 parent 9d3cad1 commit 5ed7035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/pkg/p2p/ccq_p2p.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (ccq *ccqP2p) run(
return true
}
}
ccq.logger.Info("Dropping subscribe attempt from unknown peer", zap.String("peerID", peerID.String()))
ccq.logger.Debug("Dropping subscribe attempt from unknown peer", zap.String("peerID", peerID.String()))
return false
}))
if err != nil {
Expand All @@ -140,7 +140,7 @@ func (ccq *ccqP2p) run(
if _, found := ccq.allowedPeers[msg.GetFrom().String()]; found {
return true
}
ccq.logger.Info("Dropping message from unknown peer", zap.String("fromPeerID", from.String()), zap.String("msgPeerID", msg.ReceivedFrom.String()), zap.String("msgFrom", msg.GetFrom().String()))
ccq.logger.Debug("Dropping message from unknown peer", zap.String("fromPeerID", from.String()), zap.String("msgPeerID", msg.ReceivedFrom.String()), zap.String("msgFrom", msg.GetFrom().String()))
return false
})
if err != nil {
Expand Down

0 comments on commit 5ed7035

Please sign in to comment.