etcdserver: log stream error with debug level, silence gRPC server info level logs#9080
Merged
gyuho merged 4 commits intoetcd-io:masterfrom Jan 2, 2018
Merged
etcdserver: log stream error with debug level, silence gRPC server info level logs#9080gyuho merged 4 commits intoetcd-io:masterfrom
gyuho merged 4 commits intoetcd-io:masterfrom
Conversation
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Contributor
Author
|
@jpbetz I will merge this after CI passes, and release new 3.2 this week. Hopefully help debug kubernetes/kubernetes#57480. |
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
|
This verbose logging seems to be back in 3.4. I upgraded from 3.3.20 to 3.4.9 and now get "read: connection reset by peer" whenever my Go clientv3 calls Close(). I don't have debug logging enabled. I do have ETCD_LOGGER=zap because otherwise I get a warning about log format. In fact the log shows I tried updating both go-grpc and etcd-clientv3 to the latest releases, and rebuilding my client source code. Still see this problem. |
|
I have same issue with verbose logging after upgrade etcd to 3.4.13 |
Contributor
|
@paulcaskey @Sarga I have submitted pr #12406 to silence the stream error log. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make logs from #8939 to debug level.
etcd server logs were getting too verbose when there are lots of canceled streams.
Also silence gRPC info level server logs (balancer logs).
ref. kubernetes/kubernetes#57480