summaryrefslogtreecommitdiff
path: root/src/buildtool/serve_api/remote/configuration_client.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-01-25 12:37:40 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-01-31 17:15:46 +0100
commit8772b205b30913403af5be12e8913a8b18a10a05 (patch)
tree3d7fca704c6048d45f9920f6576b2942302d9ae6 /src/buildtool/serve_api/remote/configuration_client.cpp
parenta9b3d717eac4c4f3b87b2bb7fe9f0961f4bb6fb0 (diff)
downloadjustbuild-8772b205b30913403af5be12e8913a8b18a10a05.tar.gz
just serve: Cleanup logging to remove tool name
Also cleans up the logging when parsing the serve service configuration file.
Diffstat (limited to 'src/buildtool/serve_api/remote/configuration_client.cpp')
-rw-r--r--src/buildtool/serve_api/remote/configuration_client.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/buildtool/serve_api/remote/configuration_client.cpp b/src/buildtool/serve_api/remote/configuration_client.cpp
index acb43886..ae5aa3ba 100644
--- a/src/buildtool/serve_api/remote/configuration_client.cpp
+++ b/src/buildtool/serve_api/remote/configuration_client.cpp
@@ -79,9 +79,10 @@ auto ConfigurationClient::CheckServeRemoteExecution() -> bool {
// log any mismatch found
logger_.Emit(
LogLevel::Error,
- "Different execution endpoint detected.\nIn order to correctly use "
- "just serve, its remote execution endpoint must be the same used by "
- "the client.\nserve remote endpoint: {}\nclient remote endpoint: {}",
+ "Different execution endpoint detected!\nIn order to correctly use "
+ "the serve service, its remote execution endpoint must be the same "
+ "used by the client.\nserve remote endpoint: {}\nclient remote "
+ "endpoint: {}",
serve_msg,
client_msg);
return false;