Skip to content

Commit

Permalink
Replace calls to protobuf DebugString()
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 636609179
Change-Id: I30dd8fb59244d918d88153746c5143b1c9edc45f
  • Loading branch information
laramiel authored and copybara-github committed May 23, 2024
1 parent a6e4fdd commit 4d603bd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tensorstore/kvstore/ocdbt/distributed/coordinator_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ grpc::ServerUnaryReactor* CoordinatorServer::Impl::RequestLease(
reactor->Finish(grpc::Status(grpc::StatusCode::INTERNAL,
std::string(peer_address.status().message())));
ABSL_LOG_IF(INFO, ocdbt_logging)
<< "Coordinator: internal error: request=" << request->DebugString();
<< "Coordinator: internal error: request=" << *request;
return reactor;
}

Expand Down Expand Up @@ -210,8 +210,7 @@ grpc::ServerUnaryReactor* CoordinatorServer::Impl::RequestLease(
response->set_lease_id(node->lease_id);
}
ABSL_LOG_IF(INFO, ocdbt_logging)
<< "Coordinator: request=" << request->DebugString()
<< ", response=" << response->DebugString();
<< "Coordinator: request=" << *request << ", response=" << *response;
reactor->Finish(grpc::Status());
return reactor;
}
Expand Down

0 comments on commit 4d603bd

Please sign in to comment.