Skip to content

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

Description

@r4f4ss

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):

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions