[PR #4695] [CLOSED] log duration of connections #5028

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

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/4695
Author: @berlin2123
Created: 3/5/2025
Status: Closed

Base: devHead: dev_dev


📝 Commits (10+)

📊 Changes

7 files changed (+54 additions, -1 deletions)

View changed files

📝 conf/frps_full_example.toml (+2 -0)
📝 conf/legacy/frps_legacy_full.ini (+6 -0)
📝 pkg/config/flags.go (+1 -0)
📝 pkg/config/legacy/conversion.go (+1 -0)
📝 pkg/config/legacy/server.go (+6 -0)
📝 pkg/config/v1/common.go (+6 -0)
📝 server/proxy/proxy.go (+32 -1)

📄 Description

log the duration of each connection for the connection type identified by its name.

examples:

  • log.durationtypes = "ssh,rdp", will log the duration for connection name has string 'ssh' or 'rdp'.
  • log.durationtypes = "all", will log the duration for all connections.
  • log.durationtypes = "", the default, will not log the duration for any connection.

🔄 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/4695 **Author:** [@berlin2123](https://github.com/berlin2123) **Created:** 3/5/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev_dev` --- ### 📝 Commits (10+) - [`6451583`](https://github.com/fatedier/frp/commit/6451583e60184a90c274f6683a44e89fb7a9118e) Merge pull request #1349 from fatedier/dev - [`ae08811`](https://github.com/fatedier/frp/commit/ae08811636f6ab449deb30cf7579390f9d476ab3) Merge pull request #1364 from fatedier/dev - [`134a46c`](https://github.com/fatedier/frp/commit/134a46c00b59a641dc89ab9265ea73d2d7aa6ff2) Merge pull request #1369 from fatedier/dev - [`e62d9a5`](https://github.com/fatedier/frp/commit/e62d9a52429f54dee8df1c42f2d4bad7a267b05d) Merge pull request #1415 from fatedier/dev - [`adc3adc`](https://github.com/fatedier/frp/commit/adc3adc13bf3a2bc43354377b842944f9cfc6a25) Merge pull request #1494 from fatedier/dev - [`75f3bce`](https://github.com/fatedier/frp/commit/75f3bce04dad71213fbf63da2dd6000a22e2c431) Merge pull request #1542 from fatedier/dev - [`30c246c`](https://github.com/fatedier/frp/commit/30c246c48889140402943f5aebb04c89b031c708) Merge pull request #1588 from fatedier/dev - [`f480160`](https://github.com/fatedier/frp/commit/f480160e2d22b9bbca2590660b50d69a1c5059bc) Merge pull request #1596 from fatedier/dev - [`487c8d7`](https://github.com/fatedier/frp/commit/487c8d7c29b3bbedbd0351029c480d30a7c2d880) Merge pull request #1637 from fatedier/dev - [`23bb763`](https://github.com/fatedier/frp/commit/23bb76397a0484485a16e1a3e990385b13ee388d) Merge pull request #1696 from fatedier/dev ### 📊 Changes **7 files changed** (+54 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `conf/frps_full_example.toml` (+2 -0) 📝 `conf/legacy/frps_legacy_full.ini` (+6 -0) 📝 `pkg/config/flags.go` (+1 -0) 📝 `pkg/config/legacy/conversion.go` (+1 -0) 📝 `pkg/config/legacy/server.go` (+6 -0) 📝 `pkg/config/v1/common.go` (+6 -0) 📝 `server/proxy/proxy.go` (+32 -1) </details> ### 📄 Description log the duration of each connection for the connection type identified by its name. examples: > * `log.durationtypes = "ssh,rdp"`, will log the duration for connection name has string 'ssh' or 'rdp'. > * `log.durationtypes = "all"`, will log the duration for all connections. > * `log.durationtypes = ""`, the default, will not log the duration for any connection. --- <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:53:19 -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#5028
No description provided.