[GH-ISSUE #4837] Colour output messing up terminal when reading logs (frpc) #3819

Closed
opened 2026-05-05 14:26:32 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @d3jv on GitHub (Jun 16, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4837

Bug Description

Hi, I'm running frpc as a daemon and I noticed the colour output is messing up my terminal when reading logs. The colour is not removed, so my terminal stays blue when I quit reading the logs.

I'm on void linux and use svlogtail to read logs. But I really think colour outpur should be disabled by default, or enabled only for interactive sessions.

frpc Version

0.62.1

frps Version

0.62.1

System Architecture

linux/amd64

Configurations

Independent of configuration

Logs

No response

Steps to reproduce

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @d3jv on GitHub (Jun 16, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4837 ### Bug Description Hi, I'm running frpc as a daemon and I noticed the colour output is messing up my terminal when reading logs. The colour is not removed, so my terminal stays blue when I quit reading the logs. I'm on void linux and use `svlogtail` to read logs. But I really think colour outpur should be disabled by default, or enabled only for interactive sessions. ### frpc Version 0.62.1 ### frps Version 0.62.1 ### System Architecture linux/amd64 ### Configurations Independent of configuration ### Logs _No response_ ### Steps to reproduce _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:26:33 -06:00
Author
Owner

@fatedier commented on GitHub (Jun 20, 2025):

You can disable log color by configuring the settings.

<!-- gh-comment-id:2989941175 --> @fatedier commented on GitHub (Jun 20, 2025): You can disable log color by configuring the settings.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 5, 2025):

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

<!-- gh-comment-id:3037497192 --> @github-actions[bot] commented on GitHub (Jul 5, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d 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#3819
No description provided.