backend: extract most debug logs into logger backend

This commit is contained in:
Michael Eischer committed 2023-04-14 22:32:15 +02:00
1 parent 8bfc2519d7
commit 4703473ec5
12 files changed
+99 -100

No files matched your search

-1
View File
@@ -212,7 +212,6 @@ func (b *Backend) Load(ctx context.Context, h restic.Handle, length int, offset
}
func (b *Backend) openReader(ctx context.Context, h restic.Handle, length int, offset int64) (io.ReadCloser, error) {
debug.Log("Load %v, length %v, offset %v", h, length, offset)
if err := h.Valid(); err != nil {
return nil, backoff.Permanent(err)
}