Add support for colored text (ANSI escape sequences) within the logs
Closed this issue · 1 comments
Thanks for this great project, I'm following it with great interest for its peculiarities.
What would you like to be added:
Would be great to have ANSI escape sequences rendered within the logs.
Why is this needed:
Many cli tools (also many build systems) have colored text output or progress bars. Nowadays logs are filled-in with uninterpreted and unpleasant characters.
Maybe in a json log is not the case. Am I missing something to render logs as simple text?
@M0Rf30 I'm not sure if I'm missing something but
Inside the agola UI the logs are rendered as colored already from the first Agola release (2019) since they are saved as raw with all the escape sequences. See this same project build logs that run on agola.
There are cases like the docker output that could be improved since they require the handling of line feed that needs to delete the current contents but no one is currently working on it. Feel free to contribute.