diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-10-26 22:23:30 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-10-26 22:23:30 +0100 |
commit | e762adc165a86fb947388bc13e5c0f1b75d8bf49 (patch) | |
tree | 3ce192f13ab156510c5a790d604ed53768fe7fe4 | |
parent | 6d669221b126c42f9732613df11bd6be81502df0 (diff) | |
download | sonarqube-e762adc165a86fb947388bc13e5c0f1b75d8bf49.tar.gz sonarqube-e762adc165a86fb947388bc13e5c0f1b75d8bf49.zip |
Do not log the size of uncompressed CE report
Value is useless compared to the time required to
compute it. Size of compressed report is enough.
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/computation/step/ExtractReportStep.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/computation/step/ExtractReportStep.java b/server/sonar-server/src/main/java/org/sonar/server/computation/step/ExtractReportStep.java index fad6a3223f7..83d830af28a 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/computation/step/ExtractReportStep.java +++ b/server/sonar-server/src/main/java/org/sonar/server/computation/step/ExtractReportStep.java @@ -57,8 +57,7 @@ public class ExtractReportStep implements ComputationStep { try { ZipUtils.unzip(zip, dir); reportDirectoryHolder.setDirectory(dir); - LOG.info("Analysis report extracted | size={} | compressed={}", - FileUtils.byteCountToDisplaySize(FileUtils.sizeOf(dir)), FileUtils.byteCountToDisplaySize(FileUtils.sizeOf(zip))); + LOG.info("Analysis report extracted | compressedSize={}", FileUtils.byteCountToDisplaySize(FileUtils.sizeOf(zip))); } catch (IOException e) { throw new IllegalStateException(String.format("Fail to unzip %s into %s", zip, dir), e); } |