mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-01 00:19:49 +00:00
Clean up the logging output (#12253)
* Clean up the logging output Sadly `trust-dns` and `libp2p::iface` are printing stuff that isn't very informative and just confuses the user. So, we just disable logging output from both of these crates as we already have done this for other crates as well. * FMT
This commit is contained in:
1 parent
45966d509e
commit
4a3c70ecae
1 file changed
+8
-1
@@ -133,7 +133,14 @@ where
|
||||
.add_directive(
|
||||
parse_default_directive("cranelift_wasm=warn").expect("provided directive is valid"),
|
||||
)
|
||||
.add_directive(parse_default_directive("hyper=warn").expect("provided directive is valid"));
|
||||
.add_directive(parse_default_directive("hyper=warn").expect("provided directive is valid"))
|
||||
.add_directive(
|
||||
parse_default_directive("trust_dns_proto=off").expect("provided directive is valid"),
|
||||
)
|
||||
.add_directive(
|
||||
parse_default_directive("libp2p_mdns::behaviour::iface=off")
|
||||
.expect("provided directive is valid"),
|
||||
);
|
||||
|
||||
if let Ok(lvl) = std::env::var("RUST_LOG") {
|
||||
if lvl != "" {
|
||||
|
||||
Reference in new issue
Block a user