Closed morgante closed 2 months ago
crates/cli/src/commands/mod.rs (1)
`363-367`: **Logging configuration enhancements look good!** The changes to the logging configuration in the `run_command` function are a positive improvement: - Switching to the builder pattern for `LogTracer` initialization allows for more granular control over the logging behavior. - Ignoring specific noisy modules (`rustls`, `tonic`, `mio`, `hyper`) helps focus on the relevant logs. - Setting a maximum logging level of `Debug` prevents overly verbose output. - Preserving the error handling and fallback to `setup_env_logger` ensures robustness in case of initialization failures. Overall, these enhancements provide better control over the logging while maintaining the existing error handling mechanism.
Summary by CodeRabbit
New Features
Debug
.Bug Fixes