[GH-ISSUE #2240] Log要过滤控制字符 #1407

Closed
opened 2026-02-27 00:03:25 +03:00 by kerem · 0 comments
Owner

Originally created by @edwardgc on GitHub (Sep 7, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2240

目前的log没有过滤控制字符, 类似shell里颜色之类的控制字符, 造成日志很难阅读

这是一个简单的 ls 变成了这样
/repo/cguo005/felt-b/sw]$ ls
NOKIA.cer bazel-cache build.metadata.json include lsr src
NOKIA.csr bazel-out build_time_markers.json itf model tools
NOKIA.key bazel-repo buildroot-symlinks ivy-images.xml ncy_tar.cfg vobs
WORKSPACE bazel-testlogs container ivy-pool.xml packaging y
bazel-bin build docker-make.json ivypool sonar-project.properties
]0;[FNSHA246 /repo/cguo005/felt-b/sw][cguo005@FNSHA246 /repo/cguo005/felt-b/sw]$

v1.16.5

Originally created by @edwardgc on GitHub (Sep 7, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2240 目前的log没有过滤控制字符, 类似shell里颜色之类的控制字符, 造成日志很难阅读 这是一个简单的 ls 变成了这样 /repo/cguo005/felt-b/sw]$ ls NOKIA.cer bazel-cache build.metadata.json include lsr src NOKIA.csr bazel-out build_time_markers.json itf model tools NOKIA.key bazel-repo buildroot-symlinks ivy-images.xml ncy_tar.cfg vobs WORKSPACE bazel-testlogs container ivy-pool.xml packaging y bazel-bin build docker-make.json ivypool sonar-project.properties ]0;[FNSHA246 /repo/cguo005/felt-b/sw][cguo005@FNSHA246 /repo/cguo005/felt-b/sw]$ v1.16.5
kerem 2026-02-27 00:03:25 +03:00
  • closed this issue
  • added the
    bug
    label
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
starred/electerm#1407
No description provided.