Skip to content

Commit 6e05a38

Browse files
guanxinqtensorflow-copybara
authored andcommitted
Remove gpr_set_log_verbosity from grpc_client.cc
PiperOrigin-RevId: 657278427
1 parent 35cdf00 commit 6e05a38

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tensorflow_serving/test_util/grpc_client.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,6 @@ class ServingClient {
149149
};
150150

151151
int main(int argc, char** argv) {
152-
// When gRPC version is updated to the latest version, the build will fail
153-
// because gpr_set_log_verbosity will be deleted. Since in the latest
154-
// version of gRPC uses absl internally, If you want to set absl severity or
155-
// verbosity you need to use absl : --v, --vmodule, --minloglevel,
156-
// absl::SetVLogLevel, absl::SetGlobalVLogLevel, and absl::SetMinLogLevel.
157-
// You can delete gpr_set_log_verbosity statement when your build fails.
158-
gpr_set_log_verbosity(GPR_LOG_SEVERITY_ERROR);
159152
absl::ParseCommandLine(argc, argv);
160153

161154
if (absl::GetFlag(FLAGS_server_port).empty() ||

0 commit comments

Comments
 (0)