Tibor Repasi created CASSANDRA-19706:
----------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]