[ 
https://issues.apache.org/jira/browse/CASSANDRA-19706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tibor Repasi updated CASSANDRA-19706:
-------------------------------------
    Description: 
To improve human readability of {{nodetool status}}, the following patch adds 
an option that enables status lines to be printed augmented by different 
colors. Warning color - yellow by default - is used for a node joining, leaving 
or moving and alert color - red by default - is used for nodes which are not up.

The option {{\-c}} or {{\-\-color}} enables the feature. Alternatively, the 
environment variable {{NODETOOL_COLOR_OUTPUT}} set {{true}} will enable it by 
default. Further environment variables {{NODETOOL_WARNING_COLOR}} and 
{{NODETOOL_ALERT_COLOR}} allow to override the default colors by setting to 
values 30-37 of the standard ANSI codes for foreground color.

  was:
To improve human readability of {{nodetool status}}, the following patch adds 
an option that enables status lines to be printed augmented by different 
colors. Warning color - yellow by default - is used for a node joining, leaving 
or moving and alert color - red by default - is used for nodes which are not up.

The option {{-c}} or {{--color}} enables the feature. Alternatively, the 
environment variable {{NODETOOL_COLOR_OUTPUT}} set {{true}} will enable it by 
default. Further environment variables {{NODETOOL_WARNING_COLOR}} and 
{{NODETOOL_ALERT_COLOR}} allow to override the default colors by setting to 
values 30-37 of the standard ANSI codes for foreground color.


> Enable colour nodetool status output
> ------------------------------------
>
>                 Key: CASSANDRA-19706
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19706
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tool/nodetool
>            Reporter: Tibor Repasi
>            Priority: Normal
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> To improve human readability of {{nodetool status}}, the following patch adds 
> an option that enables status lines to be printed augmented by different 
> colors. Warning color - yellow by default - is used for a node joining, 
> leaving or moving and alert color - red by default - is used for nodes which 
> are not up.
> The option {{\-c}} or {{\-\-color}} enables the feature. Alternatively, the 
> environment variable {{NODETOOL_COLOR_OUTPUT}} set {{true}} will enable it by 
> default. Further environment variables {{NODETOOL_WARNING_COLOR}} and 
> {{NODETOOL_ALERT_COLOR}} allow to override the default colors by setting to 
> values 30-37 of the standard ANSI codes for foreground color.



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

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

Reply via email to