提交 c89b5a38 编写于 作者: F fjy

cleanup s3 pulling logs

上级 43d4e541
...@@ -104,7 +104,12 @@ public class S3DataSegmentPuller implements DataSegmentPuller ...@@ -104,7 +104,12 @@ public class S3DataSegmentPuller implements DataSegmentPuller
} else { } else {
ByteStreams.copy(in, Files.newOutputStreamSupplier(new File(outDir, toFilename(key, "")))); 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; return null;
} }
catch (IOException e) { catch (IOException e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册