Skip to content

Commit

Permalink
Remove previously added debug logs (#35360)
Browse files Browse the repository at this point in the history
Revert some debug logs added in #35062

Signed-off-by: Jiajun Yao <jeromeyjj@gmail.com>
  • Loading branch information
jjyao authored May 16, 2023
1 parent a862547 commit 42a8d14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/ray/rpc/node_manager/node_manager_client_pool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ shared_ptr<ray::RayletClientInterface> NodeManagerClientPool::GetOrConnectByAddr
auto connection = client_factory_(address);
client_map_[raylet_id] = connection;

RAY_LOG(INFO) << "Connected to raylet " << raylet_id << " at " << address.ip_address()
<< ":" << address.port();
RAY_LOG(DEBUG) << "Connected to raylet " << raylet_id << " at " << address.ip_address()
<< ":" << address.port();
RAY_CHECK(connection != nullptr);
return connection;
}
Expand Down
8 changes: 0 additions & 8 deletions src/ray/rpc/server_call.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,6 @@ class ServerCallImpl : public ServerCall {
// a new request comes in.
factory.CreateCall();
}
// TODO(jjyao) Remove after debugging is done.
if (call_name_ == "NodeManagerService.grpc_server.UpdateResourceUsage") {
static std::string gcs_address = "";
if (gcs_address == "" || gcs_address != context_.peer()) {
gcs_address = context_.peer();
RAY_LOG(INFO) << "Handle " << call_name_ << " request from " << context_.peer();
}
}
(service_handler_.*handle_request_function_)(
std::move(request_),
reply_,
Expand Down

0 comments on commit 42a8d14

Please sign in to comment.