[GH-ISSUE #2224] 能不能增加控制台显示并存储日志功能 #1767

Closed
opened 2026-05-05 13:08:20 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @AC-027 on GitHub (Jan 28, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2224

能不能增加控制台显示并同时存储日志功能。
目前好像只能是控制台显示或者配置路径保存文件二选一。

Originally created by @AC-027 on GitHub (Jan 28, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2224 能不能增加控制台显示并同时存储日志功能。 目前好像只能是控制台显示或者配置路径保存文件二选一。
gitea-mirror 2026-05-05 13:08:20 -06:00
Author
Owner

@darylchen97 commented on GitHub (Jan 30, 2021):

你可以写入文件,并且用tail读取文件

<!-- gh-comment-id:770186158 --> @darylchen97 commented on GitHub (Jan 30, 2021): 你可以写入文件,并且用tail读取文件
Author
Owner

@wangrui027 commented on GitHub (Feb 2, 2021):

nohup ./frps -c ./frps.ini > ./frps.log &

后台运行并输出日志到frps.log,自己替换路径

<!-- gh-comment-id:771477166 --> @wangrui027 commented on GitHub (Feb 2, 2021): ``` bash nohup ./frps -c ./frps.ini > ./frps.log & ``` 后台运行并输出日志到`frps.log`,自己替换路径
Author
Owner

@wangrui027 commented on GitHub (Feb 2, 2021):

然后tail -f你的日志文件

<!-- gh-comment-id:771478233 --> @wangrui027 commented on GitHub (Feb 2, 2021): 然后`tail -f`你的日志文件
Author
Owner

@AC-027 commented on GitHub (Feb 2, 2021):

非常感谢您的回复。
可是我是在WINDOWS平台下用,并没有能执行。

<!-- gh-comment-id:771514276 --> @AC-027 commented on GitHub (Feb 2, 2021): 非常感谢您的回复。 可是我是在WINDOWS平台下用,并没有能执行。
Author
Owner

@darylchen97 commented on GitHub (Feb 2, 2021):

windows下可以不适用nohup

<!-- gh-comment-id:771579495 --> @darylchen97 commented on GitHub (Feb 2, 2021): windows下可以不适用nohup
Author
Owner

@github-actions[bot] commented on GitHub (Mar 20, 2021):

Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.

<!-- gh-comment-id:803215341 --> @github-actions[bot] commented on GitHub (Mar 20, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1767
No description provided.