[GH-ISSUE #2375] Logging stopped working (log_file) #1888

Closed
opened 2026-05-05 13:13:16 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @amir0ff on GitHub (Apr 30, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2375

[REQUIRED] hat version of frp are you using

Version: 0.36.0

[REQUIRED] What operating system and processor architecture are you using
OS: Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1034-raspi)
CPU architecture: aarch64

[REQUIRED] description of errors

confile
server_addr = ****
server_port = ****
protocol = tcp
tls_enable = true

log_file = /etc/frp/frpc.log
log_level = info
log_max_days = 7

frp doesn't write logs anymore, there's no error it just doesn't write to "/etc/frp/frpc.log".

Originally created by @amir0ff on GitHub (Apr 30, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2375 <!-- From Chinese to English by machine translation, welcome to revise and polish. --> <!-- ⚠️⚠️ Incomplete reports will be marked as invalid, and closed, with few exceptions ⚠️⚠️ --> <!-- in addition, please use search well so that the same solution can be found in the feedback, we will close it directly --> <!-- for convenience of differentiation, use FRPS or FRPC to refer to the FRP server or client --> **[REQUIRED] hat version of frp are you using** <!-- Use ./frpc -v or ./frps -v --> Version: 0.36.0 **[REQUIRED] What operating system and processor architecture are you using** OS: Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-1034-raspi) CPU architecture: aarch64 **[REQUIRED] description of errors** **confile** server_addr = **** server_port = **** protocol = tcp tls_enable = true log_file = /etc/frp/frpc.log log_level = info log_max_days = 7 frp doesn't write logs anymore, there's no error it just doesn't write to "/etc/frp/frpc.log".
gitea-mirror 2026-05-05 13:13:16 -06:00
Author
Owner

@fatedier commented on GitHub (May 6, 2021):

Can you try another log_file path?

<!-- gh-comment-id:833167587 --> @fatedier commented on GitHub (May 6, 2021): Can you try another `log_file` path?
Author
Owner

@amir0ff commented on GitHub (May 31, 2021):

Can you try another log_file path?

trying on the usual /home/ubuntu/frps.log path, will check within a day or so and see if it works 👍🏼

<!-- gh-comment-id:851482419 --> @amir0ff commented on GitHub (May 31, 2021): > Can you try another `log_file` path? trying on the usual `/home/ubuntu/frps.log` path, will check within a day or so and see if it works 👍🏼
Author
Owner

@amir0ff commented on GitHub (Jun 1, 2021):

Can you try another log_file path?

tried creating a file on path /home/ubuntu/frps.log the file is there but remains empty

<!-- gh-comment-id:851846254 --> @amir0ff commented on GitHub (Jun 1, 2021): > Can you try another `log_file` path? tried creating a file on path `/home/ubuntu/frps.log` the file is there but remains empty
Author
Owner

@github-actions[bot] commented on GitHub (Jul 18, 2021):

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

<!-- gh-comment-id:881978830 --> @github-actions[bot] commented on GitHub (Jul 18, 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#1888
No description provided.