From fa0ec67e09959ff15363bab8d6be95fe45ec8fb6 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 27 Feb 2023 15:09:36 +0100 Subject: just execute: indicate the mode started in --- .../execution_api/execution_service/server_implementation.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/buildtool/execution_api/execution_service/server_implementation.cpp') diff --git a/src/buildtool/execution_api/execution_service/server_implementation.cpp b/src/buildtool/execution_api/execution_service/server_implementation.cpp index d38a11d5..73850686 100644 --- a/src/buildtool/execution_api/execution_service/server_implementation.cpp +++ b/src/buildtool/execution_api/execution_service/server_implementation.cpp @@ -23,6 +23,7 @@ #include "grpcpp/grpcpp.h" #include "nlohmann/json.hpp" #include "src/buildtool/auth/authentication.hpp" +#include "src/buildtool/compatibility/compatibility.hpp" #include "src/buildtool/execution_api/execution_service/ac_server.hpp" #include "src/buildtool/execution_api/execution_service/bytestream_server.hpp" #include "src/buildtool/execution_api/execution_service/capabilities_server.hpp" @@ -100,7 +101,9 @@ auto ServerImpl::Run() -> bool { auto const& info_str = nlohmann::to_string(info); Logger::Log(LogLevel::Info, - fmt::format("execution service started: {}", info_str)); + fmt::format("{}execution service started: {}", + Compatibility::IsCompatible() ? "compatible " : "", + info_str)); if (!info_file_.empty()) { if (!TryWrite(info_file_, info_str)) { @@ -132,4 +135,4 @@ auto ServerImpl::Run() -> bool { } Instance().port_ = static_cast(*port_num); return true; -} \ No newline at end of file +} -- cgit v1.2.3