Commit 494ed8fb authored by Brian Tiger Chow's avatar Brian Tiger Chow

demote dht logs

parent ac64c2c9
......@@ -38,8 +38,6 @@ func (dht *IpfsDHT) handleNewMessage(s inet.Stream) {
// update the peer (on valid msgs only)
dht.updateFromMessage(ctx, mPeer, pmes)
log.Event(ctx, "foo", dht.self, mPeer, pmes)
// get handler for this msg type.
handler := dht.handlerForMsgType(pmes.GetType())
if handler == nil {
......
......@@ -215,7 +215,7 @@ func (dht *IpfsDHT) getClosestPeers(ctx context.Context, key u.Key) (<-chan peer
// run it!
_, err := query.Run(ctx, tablepeers)
if err != nil {
log.Errorf("closestPeers query run error: %s", err)
log.Debugf("closestPeers query run error: %s", err)
}
}()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment