Skip to content

Commit

Permalink
add verbose logging for successful copy
Browse files Browse the repository at this point in the history
  • Loading branch information
cobbzilla committed Apr 1, 2016
1 parent 1fc8873 commit 53f9e46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/cobbzilla/s3s3mirror/KeyCopyJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public void run() {
getLog().info("Would have copied " + key + " to destination: " + getKeyDestination());
} else {
if (tryCopy()) {
if (options.isVerbose()) getLog().info("successfully copied "+key+" -> "+getKeyDestination());
context.getStats().objectsCopied.incrementAndGet();
} else {
context.getStats().copyErrors.incrementAndGet();
Expand Down

0 comments on commit 53f9e46

Please sign in to comment.