Skip to content

Conversation

klensy
Copy link
Contributor

@klensy klensy commented Sep 6, 2025

Motivation

This PR fixes perf regression (binary size and instruction counts) existed in tracing > 0.1.37 in case if release_max_level_* feature was not set, but max_level_* was.

Solution

Regression was introduced in #2553, where logic was unintentionally changed: before pr, in case if release_max_level_* wasn't set, log level from max_level_* was used, but after it was unconditionally set to trace level.

See additional info in #2553 (comment)

@klensy
Copy link
Contributor Author

klensy commented Sep 6, 2025

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