Skip to content

Commit

Permalink
Reduce logging in RetryableS3OutputStream (apache#16853)
Browse files Browse the repository at this point in the history
This PR reduces logging in RetryableS3OutputStream.
  • Loading branch information
Akshat-Jain authored Aug 8, 2024
1 parent 408702e commit 7f67d26
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,10 @@ public void close() throws IOException
// Closeables are closed in LIFO order
closer.register(() -> {
org.apache.commons.io.FileUtils.forceDelete(chunkStorePath);
LOG.info("Deleted chunkStorePath[%s]", chunkStorePath);

final long totalBytesUploaded = (currentChunk.id - 1) * chunkSize + currentChunk.length();
final long totalUploadTimeMillis = pushStopwatch.elapsed(TimeUnit.MILLISECONDS);
LOG.info(
LOG.debug(
"Pushed total [%d] parts containing [%d] bytes in [%d]ms for s3Key[%s], uploadId[%s].",
futures.size(),
totalBytesUploaded,
Expand Down

0 comments on commit 7f67d26

Please sign in to comment.