snail007 / goproxy

🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。

Home Page:https://snail007.host900.com/goproxy/manual/zh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FR: How to pring to logs without colorized ANSI escape sequences

HectorB-2020 opened this issue · comments

Expected Behavior

There should be a command line parameter that that prevents printing colorized ANSI escape sequences to logs

Current Behavior

Currently the program sends ANSI escape sequences to logs even if Windows terminal does not support this

Possible Solution

A CLI parameter like proxy.exe --logs-no-color.

Steps to Reproduce

  1. Start the program, watch its output
proxy.exe http -t tcp -p "0.0.0.0:8088"

Context (Environment)

  1. proxy version is : free_14.1
  2. full command is : proxy.exe http -t tcp -p "0.0.0.0:8088"
  3. system is : Windows 10 x86_64

use the latest version, color text is disabled in windows.

Indeed! Thanks very much!