From 65b29dfc610d9393337c20e30f5b96e35dffebd0 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 4 Apr 2023 12:13:58 +0200 Subject: CAS: demote log messages of to debug As those functions indicate success, it is up to the caller to decide if the error was fatal or not. Reporting an error nevertheless might result in error messages on successful operaitons, which is confusing for the user. --- src/buildtool/execution_api/local/local_api.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/local/local_api.hpp') diff --git a/src/buildtool/execution_api/local/local_api.hpp b/src/buildtool/execution_api/local/local_api.hpp index 05fbeeda..7135efa7 100644 --- a/src/buildtool/execution_api/local/local_api.hpp +++ b/src/buildtool/execution_api/local/local_api.hpp @@ -110,7 +110,7 @@ class LocalApi final : public IExecutionApi { storage_->CAS().DumpToStream(info, out, raw_tree); std::fclose(out); if (not success) { - Logger::Log(LogLevel::Error, + Logger::Log(LogLevel::Debug, "dumping {} {} to file descriptor {} failed.", IsTreeObject(info.type) ? "tree" : "blob", info.ToString(), -- cgit v1.2.3