From b6ae1d152a55099bdf5e733e49c17aaf42f64e6c Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Tue, 27 Mar 2018 20:46:27 +0200 Subject: [PATCH] misc: downgrade a warning to info It is source of most warning noise in Warning channel and we would like to enable warning channel some time in future by default --- p2p/host/basic/basic_host.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/host/basic/basic_host.go b/p2p/host/basic/basic_host.go index d57cd13..0d566f4 100644 --- a/p2p/host/basic/basic_host.go +++ b/p2p/host/basic/basic_host.go @@ -250,7 +250,7 @@ func (h *BasicHost) newStreamHandler(s inet.Stream) { } logf("protocol EOF: %s (took %s)", s.Conn().RemotePeer(), took) } else { - log.Warningf("protocol mux failed: %s (took %s)", err, took) + log.Infof("protocol mux failed: %s (took %s)", err, took) } s.Reset() return -- GitLab