Log item size and path for base items

This commit is contained in:
Ashlie Martinez 2023-09-27 11:40:04 -07:00
parent 8170074303
commit 43af122fe0

View File

@ -591,6 +591,11 @@ func streamBaseEntries(
progress.put(encodeAsPath(itemPath.PopFront().Elements()...), d) progress.put(encodeAsPath(itemPath.PopFront().Elements()...), d)
} }
logger.Ctx(ctx).Debugw(
"uploading base item",
"item_size", entry.Size(),
"item_repo_ref", itemPath)
if err := ctr(ctx, entry); err != nil { if err := ctr(ctx, entry); err != nil {
return clues.Wrap(err, "executing callback on item"). return clues.Wrap(err, "executing callback on item").
WithClues(ctx). WithClues(ctx).