summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-04-04 14:40:01 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-04-04 19:31:22 +0200
commitf68f8b41a9c02100c04fbe07d38ded16119ab5df (patch)
tree7ab9b1620c0abe467746411ba1e49c785d99fb36 /src/buildtool/execution_api
parent71cd9c09c73c24d8433c63b859472f8e1f0be17b (diff)
downloadjustbuild-f68f8b41a9c02100c04fbe07d38ded16119ab5df.tar.gz
Hardlinking: when error is expected, log only at debug level
Diffstat (limited to 'src/buildtool/execution_api')
-rw-r--r--src/buildtool/execution_api/local/file_storage.hpp4
1 files changed, 3 insertions, 1 deletions
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<kType,
kSetEpochTime>(
- path, file_path) or
+ path,
+ file_path,
+ /*log_failure_at=*/LogLevel::Debug) or
FileSystemManager::IsFile(file_path);
};
auto create_and_stage = [&]() {