@cryptotaxi247 / kubo / commits / 4899d9349

error -> debug

Jeromy committed Feb 23, 2015 at 11:22 UTC 4899d9349cd1321214344f90bf6176a444c4fd40
2 files changed +2 -2
routing/dht/dht.go
+1 -1
@@ -322,7 +322,7 @@ func (dht *IpfsDHT) betterPeersToQuery(pmes *pb.Message, p peer.ID, count int) [
322 // == to self? thats bad
323 for _, p := range closer {
324 if p == dht.self {
325 - log.Error("Attempted to return self! this shouldnt happen...")
325 + log.Info("Attempted to return self! this shouldnt happen...")
326 return nil
327 }
328 }
routing/dht/routing.go
+1 -1
@@ -88,7 +88,7 @@ func (dht *IpfsDHT) GetValue(ctx context.Context, key u.Key) ([]byte, error) {
88
89 // get closest peers in the routing table
90 rtp := dht.routingTable.ListPeers()
91 - log.Errorf("peers in rt: %s", len(rtp), rtp)
91 + log.Debugf("peers in rt: %s", len(rtp), rtp)
92 if len(rtp) == 0 {
93 log.Warning("No peers from routing table!")
94 return nil, errors.Wrap(kb.ErrLookupFailure)