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

-2
View File
@@ -34,8 +34,6 @@ func (be *Backend) Save(ctx context.Context, h restic.Handle, rd restic.RewindRe
return err
}
debug.Log("faked saving %v bytes at %v", rd.Length(), h)
// don't save anything, just return ok
return nil
}