Skip to content

Display full message in GRPC exception log #2164

Open
@Prabha-Veerubhotla

Description

@Prabha-Veerubhotla

Feature Request

If this is a feature request, please fill out the following form in full:

Describe the problem the feature is intended to solve

While using Tensorflow serving, the exception message log is TRUNCATED.
Ex:

Caused by: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: xxxx...TRUNCATED

Describe the solution

Full logs should be displayed without any truncation.

Additional context

The Tensorflow serving client side config for max inbound message size
.maxInboundMessageSize()
is set to
int32max to match with server side config

builder.SetMaxMessageSize(tensorflow::kint32max);

The origination code seems to be the following as per stack trace:
https://github.com/grpc/grpc-java/blob/master/stub/src/main/java/io/grpc/stub/ClientCalls.java#L275

System information

  • TensorFlow Serving version: 2.11.0.5

Source code / logs

Prediction in Tensorflow serving:
https://github.com/tensorflow/serving/blob/master/tensorflow_serving/apis/prediction_service.proto#L23

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions