chore: log node status and latencies in debug level #880
+7
−5
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.
Background
有的时候我想在 journal 里面看每个连接的分流情况,但是大鹅一直在刷节点测速日志以及存活状态,使得我基本上看不到有价值的信息,因此我将相关测速日志的 log level 改为了 debug。
我想可能有其他人也遇到过类似的问题,因此提交此 PR.
没有在项目里见到 CONTRIBUTING.md, 因此如果有做的不对的地方烦请指出, 谢谢!
Checklist
It's not a new version so I didn't change that.
It's integrated into this PR. if this is inappropirate, I'll submit another PR later.
Full Changelogs
alive_dialer_set.go中打印延迟及节点列表时使用的 log level.Issue Reference
I haven't seen any.
Test Result
It works on my machine.