diff --git a/internal/repository/index.go b/internal/repository/index.go index 7da96955a..b9ed9cf98 100644 --- a/internal/repository/index.go +++ b/internal/repository/index.go @@ -120,9 +120,6 @@ func (idx *Index) Lookup(id restic.ID, tpe restic.BlobType) (blobs []restic.Pack blobs = make([]restic.PackedBlob, 0, len(packs)) for _, p := range packs { - debug.Log("id %v found in pack %v at %d, length %d", - id.Str(), p.packID.Str(), p.offset, p.length) - blob := restic.PackedBlob{ Blob: restic.Blob{ Type: tpe, @@ -139,7 +136,6 @@ func (idx *Index) Lookup(id restic.ID, tpe restic.BlobType) (blobs []restic.Pack return blobs, true } - debug.Log("id %v not found", id.Str()) return nil, false } diff --git a/internal/repository/master_index.go b/internal/repository/master_index.go index 4c41e8ba2..02a27d5d1 100644 --- a/internal/repository/master_index.go +++ b/internal/repository/master_index.go @@ -25,17 +25,13 @@ func (mi *MasterIndex) Lookup(id restic.ID, tpe restic.BlobType) (blobs []restic mi.idxMutex.RLock() defer mi.idxMutex.RUnlock() - debug.Log("looking up id %v, tpe %v", id.Str(), tpe) - for _, idx := range mi.idx { blobs, found = idx.Lookup(id, tpe) if found { - debug.Log("found id %v: %v", id.Str(), blobs) return } } - debug.Log("id %v not found in any index", id.Str()) return nil, false }