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

ANSI color in logs #659

Open
AtomBaf opened this issue Apr 14, 2023 · 0 comments
Open

ANSI color in logs #659

AtomBaf opened this issue Apr 14, 2023 · 0 comments

Comments

@AtomBaf
Copy link

AtomBaf commented Apr 14, 2023


FEATURE REQUEST

In the output log of a service, interpret ANSI color codes and format with html

Description
Example log output

 �[31m2023-04-14 20:03:58,688�[0m �[36m1@MainProcess�[0m: MainThread: [�[33;1mINFO�[0m] __main__: ping sent
 �[31m2023-04-14 20:03:59,690�[0m �[36m1@MainProcess�[0m: MainThread: [�[33;1mINFO�[0m] __main__: ping sent
 �[31m2023-04-14 20:04:00,691�[0m �[36m1@MainProcess�[0m: MainThread: [�[33;1mINFO�[0m] __main__: ping sent
 �[31m2023-04-14 20:04:01,693�[0m �[36m1@MainProcess�[0m: MainThread: [�[33;1mINFO�[0m] __main__: ping sent
 �[31m2023-04-14 20:04:02,694�[0m �[36m1@MainProcess�[0m: MainThread: [�[33;1mINFO�[0m] __main__: ping sent

Additional information (e.g. docker version, cluster setup,...):
not relevant here

Thx!

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

No branches or pull requests

1 participant