mirror of https://github.com/apache/druid.git
1) Make log a bit more descriptive
This commit is contained in:
parent
4c165b4880
commit
1e0f2c2d92
|
@ -62,7 +62,7 @@ public class CompressionUtils
|
||||||
zipOut = new ZipOutputStream(new FileOutputStream(outputZipFile));
|
zipOut = new ZipOutputStream(new FileOutputStream(outputZipFile));
|
||||||
File[] files = directory.listFiles();
|
File[] files = directory.listFiles();
|
||||||
for (File file : files) {
|
for (File file : files) {
|
||||||
log.info("Adding file[%s] with size[%,d]. Total size[%,d]", file, file.length(), totalSize);
|
log.info("Adding file[%s] with size[%,d]. Total size so far[%,d]", file, file.length(), totalSize);
|
||||||
if (file.length() >= Integer.MAX_VALUE) {
|
if (file.length() >= Integer.MAX_VALUE) {
|
||||||
zipOut.close();
|
zipOut.close();
|
||||||
outputZipFile.delete();
|
outputZipFile.delete();
|
||||||
|
|
Loading…
Reference in New Issue