Merged
Conversation
Collaborator
|
r? @ehuss (rustbot has picked a reviewer for you, use r? to override) |
Contributor
Compatibility only matters if we intend people to parse it which I don't think we do. The only other issue is usability which it is probably good enough |
epage
reviewed
Aug 7, 2023
epage
reviewed
Aug 7, 2023
arlosi
approved these changes
Aug 7, 2023
Member
Author
|
I'd like to call out the other change. By default |
Contributor
|
@bors r+ |
Contributor
Contributor
Contributor
|
💥 Test timed out |
Member
Author
|
Timed out again… @bors retry |
Contributor
Contributor
|
☀️ Test successful - checks-actions |
This was referenced Aug 13, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR try to resolve?
The migrates
CARGO_LOGlogging fromlogtotracing.tracingis already widely used among the ecosystem and rustc adopted it for a while. We've chatted about this a while back in the weekly meeting.Last week in the office hour, epage, Muscraft, and arlosi have no objection to this when I mentioned this upcoming PR. ehuss seems to looking forward to the migration #12445 (comment). Hence posted this pull request.
How should we test and review this PR?
By commits. And please check if
CARGO_LOGworks for you.Largely, a search & replace worked just fine. Only in
util/network/http.rsI did a manual fix.The format is also a bit different. Should we make it compatible? (I don't want to though)
By default
logenables all levels, whereas the built-infmtsubscriber in tracing-subscriber enables up toINFOonly. Is that a thing we need to consider? I do feel like INFO is a better default.Additional information
Last year during 1.63.0 release cargo only had ~180 deps, but today it doubles the number to ~337 🥲.