From 5ace7e7062a3545a9333db318418aa4448a9ceca Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Thu, 28 Dec 2017 09:03:35 -0800 Subject: [PATCH] Remove logging --- src/import_pipeline.cc | 3 --- src/message_handler.cc | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/import_pipeline.cc b/src/import_pipeline.cc index 07c8cf25..58a7ab7f 100644 --- a/src/import_pipeline.cc +++ b/src/import_pipeline.cc @@ -78,7 +78,6 @@ std::vector DoParseFile( // Always run this block, even if we are interactive, so we can check // dependencies and reset files in |file_consumer_shared|. IndexFile* previous_index = cache_loader->TryLoad(path); - LOG_S(ERROR) << "!! DoParseFile " << path << ", previous_index=" << previous_index; if (previous_index) { // If none of the dependencies have changed and the index is not // interactive (ie, requested by a file save), skip parsing and just load @@ -313,14 +312,12 @@ bool IndexMain_DoParse(Config* config, if (!request) return false; - LOG_S(INFO) << "IndexMain_DoParse request->path=" << request->path; Project::Entry entry; entry.filename = request->path; entry.args = request->args; std::vector responses = ParseFile( config, working_files, index, file_consumer_shared, timestamp_manager, import_manager, request->is_interactive, entry, request->contents); - LOG_S(INFO) << "IndexMain_DoParse request->path=" << request->path << " responses.size()=" << responses.size(); // Don't bother sending an IdMap request if there are no responses. if (responses.empty()) diff --git a/src/message_handler.cc b/src/message_handler.cc index 7810b1cd..0c3e0651 100644 --- a/src/message_handler.cc +++ b/src/message_handler.cc @@ -38,11 +38,13 @@ bool FindFileOrFail(QueryDatabase* db, *out_file_id = QueryFileId((size_t)-1); LOG_S(INFO) << "Unable to find file \"" << absolute_path << "\""; + /* LOG_S(INFO) << "Files (size=" << db->usr_to_file.size() << "): " << StringJoinMap(db->usr_to_file, [](const std::pair& entry) { return entry.first; }); + */ if (id) { Out_Error out;