From 8772b205b30913403af5be12e8913a8b18a10a05 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 25 Jan 2024 12:37:40 +0100 Subject: just serve: Cleanup logging to remove tool name Also cleans up the logging when parsing the serve service configuration file. --- src/buildtool/serve_api/remote/configuration_client.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/buildtool/serve_api/remote/configuration_client.cpp') 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; -- cgit v1.2.3