[GH-ISSUE #4534] windows控制台回显乱码 #3581

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

Originally created by @alomoi on GitHub (Nov 14, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4534

Bug Description

程序在windows控制台中的回显中有类似乱码的字符,新版本c端s端均有此问题。旧版本0.54.0以前则正常。
1
2

frpc Version

0.61.0

frps Version

0.61.0

System Architecture

windows/amd64

Configurations

bindPort = 7000
auth.token = "xxxxx"

Logs

No response

Steps to reproduce

  1. 通过控制台调用frp及配置文件,查看回显输出

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @alomoi on GitHub (Nov 14, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4534 ### Bug Description 程序在windows控制台中的回显中有类似乱码的字符,新版本c端s端均有此问题。旧版本0.54.0以前则正常。 ![1](https://github.com/user-attachments/assets/8fac5124-13e9-4f17-ba8b-e0c45f92126e) ![2](https://github.com/user-attachments/assets/7f852d08-3b69-403c-863a-81707efa34ed) ### frpc Version 0.61.0 ### frps Version 0.61.0 ### System Architecture windows/amd64 ### Configurations bindPort = 7000 auth.token = "xxxxx" ### Logs _No response_ ### Steps to reproduce 1. 通过控制台调用frp及配置文件,查看回显输出 ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@superzjg commented on GitHub (Nov 15, 2024):

看上去是颜色标记,尝试配置:
log.to = "console"
log.disablePrintColor = true

<!-- gh-comment-id:2477937737 --> @superzjg commented on GitHub (Nov 15, 2024): 看上去是颜色标记,尝试配置: log.to = "console" log.disablePrintColor = true
Author
Owner

@alomoi commented on GitHub (Nov 19, 2024):

看上去是颜色标记,尝试配置: log.to = "console" log.disablePrintColor = true

log.disablePrintColor = true 禁用掉颜色就ok了,感谢

<!-- gh-comment-id:2484928408 --> @alomoi commented on GitHub (Nov 19, 2024): > 看上去是颜色标记,尝试配置: log.to = "console" log.disablePrintColor = true log.disablePrintColor = true 禁用掉颜色就ok了,感谢
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#3581
No description provided.