Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Suppress gRPC Debug Context in Error Messages #45302

Open
Yaswi opened this issue Jan 19, 2025 · 0 comments
Open

How to Suppress gRPC Debug Context in Error Messages #45302

Yaswi opened this issue Jan 19, 2025 · 0 comments
Labels
Component: C++ Type: usage Issue is a user question

Comments

@Yaswi
Copy link

Yaswi commented Jan 19, 2025

I am using Apache Arrow library version 8.0.0, and whenever an error occurs, I receive verbose error messages containing gRPC client debug context and additional details. Here’s an example of the error message I get:

{Error Message}. gRPC client debug context: UNKNOWN:{Error message }{grpc_status:{status number}, created_time:{created time} }. Client context: IOError: {Error message} . Detail: Internal

On the client side, I only want to log or display the primary error message:

{Error Message}

I would like to remove the gRPC client debug context and other unnecessary details while retaining the core error message for clarity.

Is there a way to suppress the gRPC debug context or customize the error message directly from the code? If yes, where can I control this logging, I don't want to do this via environment variable.

Component(s)

C++

@Yaswi Yaswi added the Type: usage Issue is a user question label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: C++ Type: usage Issue is a user question
Projects
None yet
Development

No branches or pull requests

1 participant