cleanup s3 pulling logs

This commit is contained in:
fjy 2014-07-29 16:17:44 -07:00
parent 43d4e5418a
commit c89b5a385b
1 changed files with 6 additions and 1 deletions

View File

@ -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) {