diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-04-22 10:25:03 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-04-22 10:26:38 +0200 |
commit | 0a8c29be3d0c97bf8ba0bcd4e4c694a660a9abd4 (patch) | |
tree | c274480fba8e9225fa8b64c7cca4e38674b7cce1 /src | |
parent | 2510afb631f41ab49c74edc7938330d0003e808b (diff) | |
download | justbuild-0a8c29be3d0c97bf8ba0bcd4e4c694a660a9abd4.tar.gz |
Fix remote-client names in logging
The fact that we happen to use the same protocol as bazel does,
does not mean we are bazel. After all, the remote-build-execution
protocol is meant as a generic protocol. Hence change the names in
logs to avoid confusions.
Diffstat (limited to 'src')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp b/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp index b9514d8a..4e3aafcd 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_ac_client.hpp @@ -35,7 +35,7 @@ class BazelAcClient { private: std::unique_ptr<bazel_re::ActionCache::Stub> stub_; - Logger logger_{"BazelAcClient"}; + Logger logger_{"RemoteAcClient"}; }; #endif // INCLUDED_SRC_BUILDTOOL_EXECUTION_API_REMOTE_BAZEL_BAZEL_AC_CLIENT_HPP diff --git a/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp b/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp index f3d6daff..33de4205 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_cas_client.hpp @@ -118,7 +118,7 @@ class BazelCasClient { private: std::unique_ptr<ByteStreamClient> stream_{}; std::unique_ptr<bazel_re::ContentAddressableStorage::Stub> stub_; - Logger logger_{"BazelCasClient"}; + Logger logger_{"RemoteCasClient"}; template <class T_OutputIter> [[nodiscard]] auto FindMissingBlobs(std::string const& instance_name, diff --git a/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp b/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp index b213a94d..cd6c0eb6 100644 --- a/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp +++ b/src/buildtool/execution_api/remote/bazel/bazel_execution_client.hpp @@ -52,7 +52,7 @@ class BazelExecutionClient { private: std::unique_ptr<bazel_re::Execution::Stub> stub_; - Logger logger_{"BazelExecutionClient"}; + Logger logger_{"RemoteExecutionClient"}; [[nodiscard]] auto ReadExecution( grpc::ClientReader<google::longrunning::Operation>* reader, |