mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4157] [Feature Request] 第一行日志输出frp当前版本,还有配置文件是否错误? #3275
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3275
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dunkelicht on GitHub (Apr 14, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4157
Describe the feature request
frp端口转发非常稳定,但是有时候需要诊断网络问题和配置问题,
可否在日志输出的时候输出一些实用信息,例如frps和frpc的使用的版本。
配置文件是否错误可能不是必须的,毕竟多了一个检查就多一个故障点。
Describe alternatives you've considered
我是在windows下运行的,会用bat启动frp,所以一开始会执行frps -v /frpc -v, 当然 这样不会进入文件日志中
Affected area
@xqzr commented on GitHub (Apr 14, 2024):
尝试调整 日志级别
2626d6ed92/conf/frps_full_example.toml (L88)@Dunkelicht commented on GitHub (Apr 15, 2024):
非常感谢 我想 应该是 trace>debug>info>warn>error,而且优先级高的包含低的,我的理解有问题吗?
@xqzr commented on GitHub (Apr 15, 2024):
✅