From f68f8b41a9c02100c04fbe07d38ded16119ab5df Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 4 Apr 2022 14:40:01 +0200 Subject: Hardlinking: when error is expected, log only at debug level --- src/buildtool/execution_api/local/file_storage.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/local') diff --git a/src/buildtool/execution_api/local/file_storage.hpp b/src/buildtool/execution_api/local/file_storage.hpp index 0af749ad..201b1759 100644 --- a/src/buildtool/execution_api/local/file_storage.hpp +++ b/src/buildtool/execution_api/local/file_storage.hpp @@ -69,7 +69,9 @@ class FileStorage { // directly or check its existence if it was created by now. return FileSystemManager::CreateFileHardlinkAs( - path, file_path) or + path, + file_path, + /*log_failure_at=*/LogLevel::Debug) or FileSystemManager::IsFile(file_path); }; auto create_and_stage = [&]() { -- cgit v1.2.3