Skip to content

sc-informant: Respect --disable-log-color#3009

Merged
bkchr merged 5 commits intomasterfrom
bkchr-respect-color-cli
Jan 22, 2024
Merged

sc-informant: Respect --disable-log-color#3009
bkchr merged 5 commits intomasterfrom
bkchr-respect-color-cli

Conversation

@bkchr
Copy link
Copy Markdown
Member

@bkchr bkchr commented Jan 21, 2024

Changes sc-informant to respect the --disable-log-color CLI flag.

Closes: #2795

Changes `sc-informant` to respect the `--disable-log-color` CLI flag.
@bkchr bkchr added the T0-node This PR/Issue is related to the topic “node”. label Jan 21, 2024
@bkchr bkchr requested a review from a team January 21, 2024 21:40
@michalkucharczyk michalkucharczyk requested a review from a team January 22, 2024 09:02
@@ -39,7 +39,7 @@ fn interval(duration: Duration) -> impl Stream<Item = ()> + Unpin {
/// The format to print telemetry output in.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably this doc should be changed.
By definition telemetry is collection of remote information, but here we are displaying info coming from local node.

Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
@bkchr bkchr enabled auto-merge January 22, 2024 09:56
@bkchr bkchr added this pull request to the merge queue Jan 22, 2024
Merged via the queue into master with commit deb72f4 Jan 22, 2024
@bkchr bkchr deleted the bkchr-respect-color-cli branch January 22, 2024 12:36
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
Changes `sc-informant` to respect the `--disable-log-color` CLI flag.

Closes: paritytech#2795

---------

Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T0-node This PR/Issue is related to the topic “node”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some log messages print with color unconditionally

3 participants