From 17a56e2335d1e18faae67eb6834f63e027e08c3b Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 29 Mar 2022 13:53:31 -0700 Subject: minor env_logger usage update (deprecation) --- fatcat-cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fatcat-cli/src/main.rs b/fatcat-cli/src/main.rs index f4a8d57..5441f36 100644 --- a/fatcat-cli/src/main.rs +++ b/fatcat-cli/src/main.rs @@ -343,7 +343,7 @@ fn main() -> Result<()> { }; // hyper logging is very verbose, so crank that down even if everything else is more verbose let log_filter = format!("{},hyper=error", log_level); - env_logger::from_env(env_logger::Env::default().default_filter_or(log_filter)) + env_logger::Builder::from_env(env_logger::Env::default().default_filter_or(log_filter)) .format_timestamp(None) .init(); -- cgit v1.2.3