Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shisui logs shows strange characters when viewed in log viewers #197

Closed
r4f4ss opened this issue Oct 15, 2024 · 0 comments · Fixed by #198
Closed

Shisui logs shows strange characters when viewed in log viewers #197

r4f4ss opened this issue Oct 15, 2024 · 0 comments · Fixed by #198

Comments

@r4f4ss
Copy link

r4f4ss commented Oct 15, 2024

Rationale

Shisui logs shows strange characters when viewed in log viewers, this is caused by special bash colouring characters printed out. Further discussion here.

glogg - strange characters

image

multitail - strange characters

image

System Log Viewer (mate developers) - strange characters

logdy - can not identify automatically columns

most text editors - strange characters

Implementation

add flag:

--log.format value                          ($SHISUI_LOG_FORMAT)
Log format to use (json|logfmt|terminal)

Reference implementation:

case ctx.Bool(logjsonFlag.Name):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant