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

rustls: Disable logging again (#4541)

We are actually using an older version, where the log line is in a
different file.
parent ad54bc36
No related merge requests found
Pipeline #476928 waiting for manual action with stages
in 20 minutes and 52 seconds
title: "Remove warning about `BadCertificate` Version 2"
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-tracing
bump: patch
......@@ -142,9 +142,13 @@ where
parse_default_directive("libp2p_mdns::behaviour::iface=off")
.expect("provided directive is valid"),
)
// Disable annoying log messages from rustls
.add_directive(
parse_default_directive("rustls::common_state=off")
.expect("provided directive is valid"),
)
.add_directive(
parse_default_directive("rustls::conn=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