From 5085218d35f33364f8162a9a8066ef00b93b76cb Mon Sep 17 00:00:00 2001 From: Wei Tang Date: Mon, 2 Jul 2018 23:22:53 +0800 Subject: [PATCH] Only return error log for rustls (#9025) --- logger/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger/src/lib.rs b/logger/src/lib.rs index 863075a0e..c8beaf4a1 100644 --- a/logger/src/lib.rs +++ b/logger/src/lib.rs @@ -71,7 +71,7 @@ pub fn setup_log(config: &Config) -> Result, String> { builder.filter(Some("ws"), LogLevelFilter::Warn); builder.filter(Some("reqwest"), LogLevelFilter::Warn); builder.filter(Some("hyper"), LogLevelFilter::Warn); - builder.filter(Some("rustls"), LogLevelFilter::Warn); + builder.filter(Some("rustls"), LogLevelFilter::Error); // Enable info for others. builder.filter(None, LogLevelFilter::Info);