Only return error log for rustls (#9025)
This commit is contained in:
parent
20905094ce
commit
e76c566e0c
@ -71,7 +71,7 @@ pub fn setup_log(config: &Config) -> Result<Arc<RotatingLogger>, String> {
|
|||||||
builder.filter(Some("ws"), LogLevelFilter::Warn);
|
builder.filter(Some("ws"), LogLevelFilter::Warn);
|
||||||
builder.filter(Some("reqwest"), LogLevelFilter::Warn);
|
builder.filter(Some("reqwest"), LogLevelFilter::Warn);
|
||||||
builder.filter(Some("hyper"), LogLevelFilter::Warn);
|
builder.filter(Some("hyper"), LogLevelFilter::Warn);
|
||||||
builder.filter(Some("rustls"), LogLevelFilter::Warn);
|
builder.filter(Some("rustls"), LogLevelFilter::Error);
|
||||||
// Enable info for others.
|
// Enable info for others.
|
||||||
builder.filter(None, LogLevelFilter::Info);
|
builder.filter(None, LogLevelFilter::Info);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user