Skip to content
Snippets Groups Projects
Unverified Commit 2ed0f3e8 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

rustls: Disable logging (#4426)

Disable logging of rustls to get rid off the following log lines:
```
Sending fatal alert BadCertificate
```

Upstream also removed them: https://github.com/rustls/rustls/pull/1278


Closes: https://github.com/paritytech/polkadot-sdk/issues/3252
parent 657df04c
Branches
No related merge requests found
Pipeline #473759 waiting for manual action with stages
in 1 hour, 7 minutes, and 1 second
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
......@@ -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") {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment