From 202c54d42398fc4b49d67ffbf9070522e38f9360 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 2a5096980..691839788 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);