summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-04-10 15:18:21 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-04-10 15:18:21 +0200
commit1e596d9ba2760305efff99d6d332d21603c16e28 (patch)
treea4db910436302e93e7853cddbe9552527b78da70 /src
parentb4c26eaaaad3092334640fdf79b3fb16bc49917a (diff)
downloadjustbuild-1e596d9ba2760305efff99d6d332d21603c16e28.tar.gz
BazelAcClient: log cache misses at trace level
... instead of at debug. We expect actions to be not in cache, so the fact that we experience cache misses is not surprising. Given the information available at this point, a useful logging indicating (in terms meaningful to the user) is not possible. Therefore, keep the debug-level log clean.
Diffstat (limited to 'src')
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_ac_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_ac_client.cpp b/src/buildtool/execution_api/remote/bazel/bazel_ac_client.cpp
index f6612377..221537f2 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_ac_client.cpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_ac_client.cpp
@@ -62,7 +62,7 @@ auto BazelAcClient::GetActionResult(
if (not ok) {
if (status.error_code() == grpc::StatusCode::NOT_FOUND) {
logger_.Emit(
- LogLevel::Debug, "cache miss '{}'", status.error_message());
+ LogLevel::Trace, "cache miss '{}'", status.error_message());
}
else {
LogStatus(&logger_, LogLevel::Error, status);