summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-28 15:37:48 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-08-28 15:44:59 +0200
commit07e9ec60fe1e203d5e28133d7cc2ffb292df0846 (patch)
tree203237c22a9ff5c1b3824f7d6d622d3976317b68 /src
parentc362ea792c42d6c084251d2918a7cca75a9ef317 (diff)
downloadjustbuild-07e9ec60fe1e203d5e28133d7cc2ffb292df0846.tar.gz
Demote message on absence of cach key to debug
The separation of cache-key handling and CAS lockup in e6a91bb733b0738cee0b3ae06ee640f70c1e787f unified the log-level of two messages to warning: the absence of a cache entry (originally debug) and a report on a malformed entry in the cache (originally warning). As we routinely expect non-cached actions in a build, demote those messages to debug level in order to keep the log readable and not confuse the user with warnings about expected behaviour.
Diffstat (limited to 'src')
-rw-r--r--src/buildtool/storage/local_ac.tpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/storage/local_ac.tpp b/src/buildtool/storage/local_ac.tpp
index ee21e86a..8ed930c4 100644
--- a/src/buildtool/storage/local_ac.tpp
+++ b/src/buildtool/storage/local_ac.tpp
@@ -39,7 +39,7 @@ auto LocalAC<kDoGlobalUplink>::CachedResult(bazel_re::Digest const& action_id)
const noexcept -> std::optional<bazel_re::ActionResult> {
auto const cas_key = ReadActionKey(action_id);
if (not cas_key) {
- logger_->Emit(LogLevel::Warning, cas_key.error());
+ logger_->Emit(LogLevel::Debug, cas_key.error());
return std::nullopt;
}
auto result = ReadAction(*cas_key);