From c89b5a385b9c9ad77988513e5c3f01bbbd74ec74 Mon Sep 17 00:00:00 2001 From: fjy Date: Tue, 29 Jul 2014 16:17:44 -0700 Subject: [PATCH] cleanup s3 pulling logs --- .../main/java/io/druid/storage/s3/S3DataSegmentPuller.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java b/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java index a40e524e94f..f9b68a05440 100644 --- a/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java +++ b/s3-extensions/src/main/java/io/druid/storage/s3/S3DataSegmentPuller.java @@ -104,7 +104,12 @@ public class S3DataSegmentPuller implements DataSegmentPuller } else { ByteStreams.copy(in, Files.newOutputStreamSupplier(new File(outDir, toFilename(key, "")))); } - log.info("Pull of file[%s] completed in %,d millis", s3Obj, System.currentTimeMillis() - startTime); + log.info( + "Pull of file[%s/%s] completed in %,d millis", + s3Obj.getBucketName(), + s3Obj.getKey(), + System.currentTimeMillis() - startTime + ); return null; } catch (IOException e) {