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

dev: Remove io.EOF and grpc stream context cancellation from WARN log level #1398

Open
pelageech opened this issue Aug 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pelageech
Copy link

Hi! I noticed that my logs are littered with such messages:

2024-08-08 11:55:32.778 WARN 'ydb.driver.conn.stream.RecvMsg' => failed {"error":"EOF","latency":"31.691µs","version":"3.76.2"}
2024-08-08 11:55:32.779 WARN 'ydb.driver.conn.stream.RecvMsg' => failed {"error":"transport/Canceled (code = 1, source error = \"rpc error: code = Canceled desc = context canceled\", address: \"localhost:2136\", nodeID = 1) at `github.com/ydb-platform/ydb-go-sdk/v3/internal/conn.(*grpcClientStream).RecvMsg(grpc_client_stream.go:174)`","latency":"7.677643ms","version":"3.76.2"}

And these ones appear every time when a call any query with Query() client. It seems to me that this is not an extraordinary behaviour, so I'd like to see them in the TRACE or DEBUG level at least.

If context was cancelled by some unusual cause, I would like to see such a cause in WARN level or higher, not just context canceled.

@pelageech pelageech added the enhancement New feature or request label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant