From 449fd35cb0a914691991c30f84c297d2925e3411 Mon Sep 17 00:00:00 2001 From: Rob Quist Date: Mon, 29 Jun 2020 18:32:58 +0200 Subject: [PATCH] Lower logging verbosity for graylisted peers My Lotus client is bein flooded with about 10 of these messages per second - since its rather regular behaviour and not that important, I think this can be lowered to Debug instead of Info. --- pubsub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubsub.go b/pubsub.go index ac3652f6..e87697a7 100644 --- a/pubsub.go +++ b/pubsub.go @@ -898,7 +898,7 @@ func (p *PubSub) handleIncomingRPC(rpc *RPC) { // ask the router to vet the peer before commiting any processing resources if !p.rt.AcceptFrom(rpc.from) { - log.Infof("received message from router graylisted peer %s. Dropping RPC", rpc.from) + log.Debugf("received message from router graylisted peer %s. Dropping RPC", rpc.from) return }