Commit e5198b14 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

bitswap error -> debug (use IPFS_LOGGING=debug)

parent 728d977b
......@@ -82,7 +82,7 @@ func (bs *bitswap) Block(parent context.Context, k u.Key) (*blocks.Block, error)
log.Debugf("Get Block %v", k)
now := time.Now()
defer func() {
log.Errorf("GetBlock took %f secs", time.Now().Sub(now).Seconds())
log.Debugf("GetBlock took %f secs", time.Now().Sub(now).Seconds())
}()
ctx, cancelFunc := context.WithCancel(parent)
......
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