From 1e72d8f14c880b09e4f470cc69ebaff865f6bc83 Mon Sep 17 00:00:00 2001 From: Peter Rabbitson Date: Mon, 31 May 2021 13:43:22 +0200 Subject: [PATCH] Reduce noise from 'peer has different genesis' messages After the unification of all networks behind a build-tag, the amount of these warnings has risen sharply. Reduce it to a debug-level, since it isn't actionable to an operator. --- node/hello/hello.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/hello/hello.go b/node/hello/hello.go index d4c6312069f..daa088dcf7e 100644 --- a/node/hello/hello.go +++ b/node/hello/hello.go @@ -77,7 +77,7 @@ func (hs *Service) HandleStream(s inet.Stream) { "hash", hmsg.GenesisHash) if hmsg.GenesisHash != hs.syncer.Genesis.Cids()[0] { - log.Warnf("other peer has different genesis! (%s)", hmsg.GenesisHash) + log.Debugf("other peer has different genesis! (%s)", hmsg.GenesisHash) _ = s.Conn().Close() return }