Skip to content

Conversation

@zeroXbrock
Copy link
Member

@zeroXbrock zeroXbrock commented Dec 31, 2025

Motivation

resolves #403

Solution

  • parse RUST_LOG into tracing::Levels and check for level > tracing::Level::INFO
    • Level implements PartialOrd so we can compare them
    • any level > INFO qualifies as "debug mode" (e.g. TRACE)
  • new struct in cli TracingOptions holds our preferences and passes relevant config params to whichever tracing pipeline we're running

PR Checklist

  • Added Tests
  • Added Documentation
  • Ran cargo +nightly clippy --workspace --lib --examples --tests --benches --all-features --locked --fix
  • Ran cargo fmt --all
  • Note breaking changes in PR description, if applicable
  • update changelogs
    • Update CHANGELOG.md in each affected crate
    • add a high-level description in the root changelog

@zeroXbrock zeroXbrock merged commit be8403f into main Dec 31, 2025
7 checks passed
@zeroXbrock zeroXbrock deleted the feat/less-log-info-verbosity branch December 31, 2025 22:26
@zeroXbrock zeroXbrock mentioned this pull request Dec 31, 2025
8 tasks
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.

reduce log verbosity in info mode

1 participant