diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-02-27 15:09:36 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-02-28 15:00:02 +0100 |
commit | fa0ec67e09959ff15363bab8d6be95fe45ec8fb6 (patch) | |
tree | 7029e47c71ca20e8edd87a76a6b7038b87258a85 /src/buildtool/execution_api/execution_service/server_implementation.cpp | |
parent | 815ef5d2d6355f2ca65ddcd33c7af674c0edbca7 (diff) | |
download | justbuild-fa0ec67e09959ff15363bab8d6be95fe45ec8fb6.tar.gz |
just execute: indicate the mode started in
Diffstat (limited to 'src/buildtool/execution_api/execution_service/server_implementation.cpp')
-rw-r--r-- | src/buildtool/execution_api/execution_service/server_implementation.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
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<int>(*port_num); return true; -}
\ No newline at end of file +} |