Skip to content

Commit

Permalink
fix: update the default logging level of external crates to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
junkurihara committed Nov 5, 2024
1 parent 641292f commit 1a19939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpxy-bin/src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub fn init_logger() {
.target()
.starts_with(env!("CARGO_PKG_NAME").replace('-', "_").as_str())
&& metadata.level() <= &level)
|| metadata.level() <= &tracing::Level::ERROR.min(level)
|| metadata.level() <= &tracing::Level::WARN.min(level)
}));
tracing_subscriber::registry().with(stdio_layer).init();
} else {
Expand Down

0 comments on commit 1a19939

Please sign in to comment.