Skip to content

subspace-process: disable console colors in both 0.15 and 0.16 - #3947

Closed
ageorge95 wants to merge 1 commit into
autonomys:mainfrom
ageorge95:upstream_contirbution_fix_windows_console
Closed

ageorge95 wants to merge 1 commit into
autonomys:mainfrom
ageorge95:upstream_contirbution_fix_windows_console

Conversation

@ageorge95

Copy link
Copy Markdown
Contributor

Disables console colors in both console 0.15 and 0.16 during init_logger, since Substrate links against 0.15 while the workspace uses 0.16. Each version keeps its own global color state.

Substrate still links against console 0.15.x while the workspace uses
console 0.16.x. Each version keeps its own global color state, so disabling
colors only in 0.16 left Substrate's console-styled log messages colored.
tracing-subscriber then escaped those embedded ANSI codes into literal
`\x1b[` text.

Depend on console 0.15.11 in subspace-process and disable colors in both
versions during init_logger. Extend the regression test to cover the 0.15
path used by Substrate.
@ageorge95 ageorge95 closed this Oct 27, 2026
@ageorge95
ageorge95 deleted the upstream_contirbution_fix_windows_console branch October 27, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant