From 3e31bcdc170dceca2c868687c268aafc5e8943ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CGheisMohammadi=E2=80=9D?= <36589218+GheisMohammadi@users.noreply.github.com> Date: Thu, 10 Aug 2023 09:43:34 +0800 Subject: [PATCH] fix the server mode log in handleNewMessage by changing it to debug --- dht_net.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dht_net.go b/dht_net.go index 9f3fbf01..3e135df1 100644 --- a/dht_net.go +++ b/dht_net.go @@ -44,7 +44,7 @@ func (dht *IpfsDHT) handleNewMessage(s network.Stream) bool { for { if dht.getMode() != modeServer { - logger.Errorf("ignoring incoming dht message while not in server mode") + logger.Debugf("ignoring incoming dht message while not in server mode") return false }