Skip to content

Commit

Permalink
downloader: add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Mar 11, 2024
1 parent ebd0176 commit d0e535b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions renterd/downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ func (bd *BlockDownloader) doDownloadTask(task *blockResponse, log *zap.Logger)
return
}

log.Debug("downloading block", zap.String("bucket", bucket), zap.String("key", key))

ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
defer cancel()

Expand Down

0 comments on commit d0e535b

Please sign in to comment.