Skip to content

refactor(cli/docs): use tracing for docs opening status messages - #5005

Merged
rami3l merged 1 commit into
rust-lang:mainfrom
Aneesh-382005:doc-logging-consistency
Aug 11, 2026
Merged

refactor(cli/docs): use tracing for docs opening status messages#5005
rami3l merged 1 commit into
rust-lang:mainfrom
Aneesh-382005:doc-logging-consistency

Conversation

@Aneesh-382005

Copy link
Copy Markdown
Contributor

Closes #4994
rustup doc's status messages ("Opening docs...", "Serving docs at...") were printed using standard writeln! to stderr, making it unaffected by RUSTUP_LOG filtering.
Switched them to tracing::info!, matching the existing convention.

No behavior change by default. info! renders identically to the old writeln! output unless RUSTUP_LOG is set.

@rami3l
rami3l self-requested a review August 11, 2026 07:46
@rami3l
rami3l force-pushed the doc-logging-consistency branch from 4e98c83 to 6e9864c Compare August 11, 2026 09:40
@rami3l
rami3l enabled auto-merge August 11, 2026 09:52
@rami3l
rami3l added this pull request to the merge queue Aug 11, 2026
Merged via the queue into rust-lang:main with commit a040969 Aug 11, 2026
31 checks passed
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.

rustup doc should use info!() and friends for console output

3 participants