diff --git a/s3-extensions/src/main/java/io/druid/storage/s3/S3Utils.java b/s3-extensions/src/main/java/io/druid/storage/s3/S3Utils.java index b488d3e25f1..598153ec778 100644 --- a/s3-extensions/src/main/java/io/druid/storage/s3/S3Utils.java +++ b/s3-extensions/src/main/java/io/druid/storage/s3/S3Utils.java @@ -92,7 +92,7 @@ public class S3Utils final long maxSleepMillis = 60000; final double fuzzyMultiplier = Math.min(Math.max(1 + 0.2 * new Random().nextGaussian(), 0), 2); final long sleepMillis = (long) (Math.min(maxSleepMillis, baseSleepMillis * Math.pow(2, nTry)) * fuzzyMultiplier); - System.out.println(String.format("S3 fail on try %d, retrying in %,dms.", nTry, sleepMillis)); + log.warn("S3 fail on try %d, retrying in %,dms.", nTry, sleepMillis); Thread.sleep(sleepMillis); }