[PR #2100] [MERGED] tweak logs: show what config frps uses (config file / command line) #4508

Closed
opened 2026-05-05 14:43:23 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/2100
Author: @wxiaoguang
Created: 11/23/2020
Status: Merged
Merged: 11/23/2020
Merged by: @fatedier

Base: devHead: dev


📝 Commits (1)

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 cmd/frps/root.go (+3 -1)

📄 Description

  • show what config frps uses (config file / command line)
  • optimize the "start successfully" log message

To make the behavior more clear (#2099)

Now the logs look like this:

2020/11/23 16:45:32 [I] [root.go:116] frps uses command line arguments for config
2020/11/23 16:45:32 [I] [service.go:190] frps tcp listen on 0.0.0.0:7000
2020/11/23 16:45:32 [I] [root.go:217] frps started successfully

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/2100 **Author:** [@wxiaoguang](https://github.com/wxiaoguang) **Created:** 11/23/2020 **Status:** ✅ Merged **Merged:** 11/23/2020 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`63788d2`](https://github.com/fatedier/frp/commit/63788d2333f233d9e54264cb7019feaf1083e3b3) tweak logs: ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/frps/root.go` (+3 -1) </details> ### 📄 Description * show what config frps uses (config file / command line) * optimize the "start successfully" log message To make the behavior more clear (#2099) Now the logs look like this: ``` 2020/11/23 16:45:32 [I] [root.go:116] frps uses command line arguments for config 2020/11/23 16:45:32 [I] [service.go:190] frps tcp listen on 0.0.0.0:7000 2020/11/23 16:45:32 [I] [root.go:217] frps started successfully ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:43:23 -06:00
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#4508
No description provided.