From 6cff7cd8aa3078cd41fb0de3137fe29d2566ff97 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 31 Mar 2023 16:41:09 +0200 Subject: git tree: degrade log level for missing entry in a git tree to debug ... as this is only an internal functionality, and the caller will take care of a proper error message if the absence of that entry is not expected. --- src/buildtool/file_system/git_tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/file_system/git_tree.cpp') diff --git a/src/buildtool/file_system/git_tree.cpp b/src/buildtool/file_system/git_tree.cpp index db391b7e..a369af78 100644 --- a/src/buildtool/file_system/git_tree.cpp +++ b/src/buildtool/file_system/git_tree.cpp @@ -86,7 +86,7 @@ auto GitTree::LookupEntryByName(std::string const& name) const noexcept auto entry_it = entries_.find(name); if (entry_it == entries_.end()) { Logger::Log( - LogLevel::Error, "git tree does not contain entry {}", name); + LogLevel::Debug, "git tree does not contain entry {}", name); return nullptr; } return entry_it->second; -- cgit v1.2.3