diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-01-25 12:37:40 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-01-31 17:15:46 +0100 |
commit | 8772b205b30913403af5be12e8913a8b18a10a05 (patch) | |
tree | 3d7fca704c6048d45f9920f6576b2942302d9ae6 /src/buildtool/serve_api/remote/configuration_client.cpp | |
parent | a9b3d717eac4c4f3b87b2bb7fe9f0961f4bb6fb0 (diff) | |
download | justbuild-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.cpp | 7 |
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; |