You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2024/07/08 18:17:00 UTC

[jira] [Commented] (CASSANDRA-19754) Colourize log output

    [ https://issues.apache.org/jira/browse/CASSANDRA-19754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863891#comment-17863891 ] 

Stefan Miklosovic commented on CASSANDRA-19754:
-----------------------------------------------

How does this look like when logged into a text file? E.g. some log in CircleCI / Jenkins. I guess that colors are somehow "escaped". Does this coloring make it to raw log files too? 

> Colourize log output
> --------------------
>
>                 Key: CASSANDRA-19754
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19754
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Maxim Muzafarov
>            Assignee: Maxim Muzafarov
>            Priority: Low
>             Fix For: 5.x
>
>         Attachments: image-2024-07-05-16-10-51-385.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It seems it is easy to colourize the console output, which helps read the logs and/or run tests in the IDE (works on Linux and Mac). Logback provides a way to do this easily:
> [https://logback.qos.ch/manual/layouts.html#coloring]
> The expected result:
> !image-2024-07-05-16-10-51-385.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org