mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 14:34:24 +08:00
demote dht logs
This commit is contained in:
@ -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)
|
||||
}
|
||||
}()
|
||||
|
||||
|
Reference in New Issue
Block a user