Turn common INFO messages down to VLOG(1)
Turn messages that are printed on every run of relocation_packer down to
VLOG(1) to clean up ninja build output.
Bug: 24409581
Change-Id: I040aed6a7b4261eefa6f7278fa451180115b0716
diff --git a/tools/relocation_packer/src/elf_file.cc b/tools/relocation_packer/src/elf_file.cc
index 4004239..014883d 100644
--- a/tools/relocation_packer/src/elf_file.cc
+++ b/tools/relocation_packer/src/elf_file.cc
@@ -739,7 +739,7 @@
VLOG(1) << "Packed (no padding): " << packed_bytes_estimate << " bytes";
if (packed.empty()) {
- LOG(INFO) << "Too few relocations to pack";
+ VLOG(1) << "Too few relocations to pack";
return true;
}
@@ -752,16 +752,16 @@
// hole_size needs to be page_aligned.
hole_size -= hole_size % kPreserveAlignment;
- LOG(INFO) << "Compaction : " << hole_size << " bytes";
+ VLOG(1) << "Compaction : " << hole_size << " bytes";
// Adjusting for alignment may have removed any packing benefit.
if (hole_size == 0) {
- LOG(INFO) << "Too few relocations to pack after alignment";
+ VLOG(1) << "Too few relocations to pack after alignment";
return true;
}
if (hole_size <= 0) {
- LOG(INFO) << "Packing relocations saves no space";
+ VLOG(1) << "Packing relocations saves no space";
return true;
}