We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 03ef671 + c343f12 commit c0e13aaCopy full SHA for c0e13aa
bitswap/workers.go
@@ -205,7 +205,7 @@ func (bs *Bitswap) rebroadcastWorker(parent context.Context) {
205
case <-tick.C:
206
n := bs.wm.WantCount()
207
if n > 0 {
208
- log.Debug(n, " keys in bitswap wantlist")
+ log.Debugf("%d keys in bitswap wantlist", n)
209
}
210
case <-broadcastSignal.C: // resend unfulfilled wantlist keys
211
log.Event(ctx, "Bitswap.Rebroadcast.active")
@@ -259,7 +259,7 @@ func (bs *Bitswap) providerQueryManager(ctx context.Context) {
259
defer wg.Done()
260
err := bs.network.ConnectTo(child, p)
261
if err != nil {
262
- log.Debug("failed to connect to provider %s: %s", p, err)
+ log.Debugf("failed to connect to provider %s: %s", p, err)
263
264
}(p)
265
0 commit comments