From 55203fa466cfb97755e544acc1a87edc6b7d4c0d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 28 Feb 2024 11:08:05 -0500 Subject: [PATCH] refactor: add more debug info --- storage/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/storage.go b/storage/storage.go index 1f273fe..9f24c9f 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -385,7 +385,7 @@ func (s StorageServiceDefault) S3MultipartUpload(ctx context.Context, data io.Re PartNumber: aws.Int32(int32(partNum)), }) - s.logger.Debug("Completed part", zap.Int("partNum", partNum), zap.String("key", key), zap.String("bucket", bucket)) + s.logger.Debug("Completed part", zap.Int("partNum", partNum), zap.Int("totalParts", totalParts), zap.Uint64("partSize", partSize), zap.Int("readSize", readSize), zap.Int("size", int(size)), zap.Int("totalParts", totalParts), zap.Int("partNum", partNum), zap.String("key", key), zap.String("bucket", bucket)) } // Ensure parts are ordered by part number before completing the upload