@cryptotaxi247 / kubo / commits / e186e740d

move log messages out of warning level

Jeromy committed Apr 13, 2015 at 19:48 UTC e186e740de835db7021a7480ca18ccdae8a9238e
2 files changed +2 -2
routing/dht/dht_net.go
+1 -1
@@ -54,7 +54,7 @@ func (dht *IpfsDHT) handleNewMessage(s inet.Stream) {
54
55 // if nil response, return it before serializing
56 if rpmes == nil {
57 - log.Warning("Got back nil response from request.")
57 + log.Debug("Got back nil response from request.")
58 return
59 }
60
routing/dht/handlers.go
+1 -1
@@ -140,7 +140,7 @@ func (dht *IpfsDHT) handleFindPeer(ctx context.Context, p peer.ID, pmes *pb.Mess
140 }
141
142 if closest == nil {
143 - log.Warningf("%s handleFindPeer %s: could not find anything.", dht.self, p)
143 + log.Infof("%s handleFindPeer %s: could not find anything.", dht.self, p)
144 return resp, nil
145 }
146