You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tibor Repasi (Jira)" <ji...@apache.org> on 2024/06/14 20:18:00 UTC
[jira] [Created] (CASSANDRA-19706) Enable colour nodetool status output
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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org