dae icon indicating copy to clipboard operation
dae copied to clipboard

chore: log node status and latencies in debug level

Open iceBear67 opened this issue 4 months ago • 2 comments

Background

有的时候我想在 journal 里面看每个连接的分流情况,但是大鹅一直在刷节点测速日志以及存活状态,使得我基本上看不到有价值的信息,因此我将相关测速日志的 log level 改为了 debug。

我想可能有其他人也遇到过类似的问题,因此提交此 PR.

没有在项目里见到 CONTRIBUTING.md, 因此如果有做的不对的地方烦请指出, 谢谢!

Checklist

  • [x] The Pull Request has been fully tested
  • [ ] There's an entry in the CHANGELOGS It's not a new version so I didn't change that.
  • [ ] There is a user-facing docs PR against https://github.com/daeuniverse/dae 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.

iceBear67 avatar Aug 25 '25 09:08 iceBear67

个人认为节点状态变更相关的日志应当是高优先级的,但的确现在过滤流量相关的日志较为困难

LostAttractor avatar Aug 25 '25 15:08 LostAttractor

+1. 对我来说(四个机场的节点混合选择),"节点测速日志以及存活状态"就是"有价值的信息"。

可以自己写简单的脚本来监听并分析log,比如dns统计等。

ppdragon16 avatar Aug 26 '25 03:08 ppdragon16