Skip to content

Commit

Permalink
bitswap error -> debug (use IPFS_LOGGING=debug)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbenet committed Nov 7, 2014
1 parent ea275a3 commit 1f5dd34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchange/bitswap/bitswap.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,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)
Expand Down

0 comments on commit 1f5dd34

Please sign in to comment.