Skip to content

Commit

Permalink
Add log when download completes with file size (#15224)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Bafna <[email protected]>
  • Loading branch information
gbbafna authored and wangdongyu.danny committed Aug 22, 2024
1 parent 0c606ed commit 99c3c72
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 99c3c72

Please sign in to comment.