From e6cb4f4bd76e59363f2032e2c9c789e174723074 Mon Sep 17 00:00:00 2001 From: Allen Date: Thu, 17 Dec 2020 00:25:29 -0800 Subject: [PATCH] [Core] Add log of address and port (#12908) Co-authored-by: Allen Yin --- src/ray/rpc/metrics_agent_client.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ray/rpc/metrics_agent_client.h b/src/ray/rpc/metrics_agent_client.h index 9a78b6d9d..36a0cbb51 100644 --- a/src/ray/rpc/metrics_agent_client.h +++ b/src/ray/rpc/metrics_agent_client.h @@ -37,6 +37,8 @@ class MetricsAgentClient { /// \param[in] client_call_manager The `ClientCallManager` used for managing requests. MetricsAgentClient(const std::string &address, const int port, ClientCallManager &client_call_manager) { + RAY_LOG(DEBUG) << "Initiate the metrics client of address:" << address + << " port:" << port; grpc_client_ = std::unique_ptr>( new GrpcClient(address, port, client_call_manager)); };