Skip to content

Commit

Permalink
Add log when download completes with file size (#15224) (#15348)
Browse files Browse the repository at this point in the history
(cherry picked from commit 0ca4ed0)

Signed-off-by: Gaurav Bafna <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 3971a25 commit e076e66
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ private void copyOneFile(
try {
cancellableThreads.executeIO(() -> {
destination.copyFrom(source, file, file, IOContext.DEFAULT);
logger.trace("Downloaded file {} of size {}", file, destination.fileLength(file));
onFileCompletion.run();
if (secondDestination != null) {
secondDestination.copyFrom(destination, file, file, IOContext.DEFAULT);
Expand Down

0 comments on commit e076e66

Please sign in to comment.