fix(tracing): prioritize RUST_LOG and verbosity CLI arg (#6413)

This commit is contained in:
Alexey Shekhirin
2024-02-05 19:42:32 +00:00
committed by GitHub
parent f8a71047d4
commit 6c1263e000
45 changed files with 71 additions and 70 deletions

View File

@ -34,8 +34,8 @@ async fn main() {
let _ = RethTracer::new()
.with_stdout(LayerInfo::new(
LogFormat::Terminal,
"info".to_string(),
LevelFilter::INFO.into(),
LevelFilter::INFO.to_string(),
"".to_string(),
Some("always".to_string()),
))
.init();