Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve formatting of rustwide log messages #2338

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

Nemo157
Copy link
Member

@Nemo157 Nemo157 commented Nov 24, 2023

Enables tracing-subscriber/tracing-log feature to get its support for formatting based on these messages custom attributes. Requires manually registering the registry to avoid tracing-subscriber attempting to register its own tracing-log instance as we've already registered one through rustwide.

fixes #2336

@github-actions github-actions bot added the S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed label Nov 24, 2023
src/bin/cratesfyi.rs Outdated Show resolved Hide resolved
@Nemo157

This comment was marked as resolved.

Enables `tracing-subscriber/tracing-log` feature to get its support for
formatting based on these messages custom attributes. Requires manually
registering the registry to avoid `tracing-subscriber` attempting to
register its own `tracing-log` instance as we've already registered one
through `rustwide`.
@Nemo157
Copy link
Member Author

Nemo157 commented Nov 25, 2023

Updated to use the direct registration APIs instead of the tracing-subscriber helpers.

@syphar syphar merged commit 4c1d262 into rust-lang:master Nov 29, 2023
11 checks passed
@github-actions github-actions bot added S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it and removed S-waiting-on-review Status: This pull request has been implemented and needs to be reviewed labels Nov 29, 2023
@Nemo157 Nemo157 deleted the tracing-log-fmt branch November 29, 2023 10:10
@syphar syphar removed the S-waiting-on-deploy This PR is ready to be merged, but is waiting for an admin to have time to deploy it label Dec 1, 2023
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.

Improve rustwide log format
2 participants