[Core] Add log of address and port (#12908)

Co-authored-by: Allen Yin <allenyin@anyscale.io>
This commit is contained in:
Allen
2020-12-17 00:25:29 -08:00
committed by GitHub
co-authored by Allen Yin
parent 40032541dc
commit e6cb4f4bd7
+2
View File
@@ -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<GrpcClient<ReporterService>>(
new GrpcClient<ReporterService>(address, port, client_call_manager));
};