diff --git a/prdoc/pr_4426.prdoc b/prdoc/pr_4426.prdoc new file mode 100644 index 000000000000..5beccbd2a57a --- /dev/null +++ b/prdoc/pr_4426.prdoc @@ -0,0 +1,15 @@ +title: "Remove warning about `BadCertificate`" + +doc: + - audience: Node Operator + description: | + The node was printing the following warning from time to time: + ``` + Sending fatal alert BadCertificate + ``` + + This is not an user error and thus, the warning will now not be printed + anymore. + +crates: + - name: sc-cli diff --git a/substrate/client/tracing/src/logging/mod.rs b/substrate/client/tracing/src/logging/mod.rs index 8b2ad9b598b5..46fd4efb339a 100644 --- a/substrate/client/tracing/src/logging/mod.rs +++ b/substrate/client/tracing/src/logging/mod.rs @@ -141,6 +141,10 @@ where .add_directive( parse_default_directive("libp2p_mdns::behaviour::iface=off") .expect("provided directive is valid"), + ) + .add_directive( + parse_default_directive("rustls::common_state=off") + .expect("provided directive is valid"), ); if let Ok(lvl) = std::env::var("RUST_LOG") {