summaryrefslogtreecommitdiffstats
path: root/src/build_log.cc
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2014-12-18 19:04:14 (GMT)
committerNico Weber <thakis@chromium.org>2014-12-18 19:04:14 (GMT)
commit2d4a637c3010e1c8726967c9072cf73619fcd47d (patch)
tree2421e938dd5acc3c68b6b68ae086dcbc4a3d39f4 /src/build_log.cc
parent191f26d1497a568fcf2fce547031ce7ac93d2455 (diff)
downloadNinja-2d4a637c3010e1c8726967c9072cf73619fcd47d.zip
Ninja-2d4a637c3010e1c8726967c9072cf73619fcd47d.tar.gz
Ninja-2d4a637c3010e1c8726967c9072cf73619fcd47d.tar.bz2
Remove 'Recompacting...' messages.
Recompacting the build log used to be slow, so it made sense to print this message. We then made recompaction much faster, but didn't remove this message back then. The deps log only has it because the build log had it. Since both steps are effectively instant in practice, remove these log messages.
Diffstat (limited to 'src/build_log.cc')
-rw-r--r--src/build_log.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/build_log.cc b/src/build_log.cc
index b6f9874..281b851 100644
--- a/src/build_log.cc
+++ b/src/build_log.cc
@@ -102,7 +102,7 @@ BuildLog::LogEntry::LogEntry(const string& output, uint64_t command_hash,
{}
BuildLog::BuildLog()
- : log_file_(NULL), needs_recompaction_(false), quiet_(false) {}
+ : log_file_(NULL), needs_recompaction_(false) {}
BuildLog::~BuildLog() {
Close();
@@ -354,8 +354,6 @@ bool BuildLog::WriteEntry(FILE* f, const LogEntry& entry) {
bool BuildLog::Recompact(const string& path, const BuildLogUser& user,
string* err) {
METRIC_RECORD(".ninja_log recompact");
- if (!quiet_)
- printf("Recompacting log...\n");
Close();
string temp_path = path + ".recompact";