mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
feat(discv5): disable noisy logs (#7458)
This commit is contained in:
@ -18,9 +18,9 @@ pub(crate) type BoxedLayer<S> = Box<dyn Layer<S> + Send + Sync>;
|
|||||||
const RETH_LOG_FILE_NAME: &str = "reth.log";
|
const RETH_LOG_FILE_NAME: &str = "reth.log";
|
||||||
|
|
||||||
/// Default [directives](Directive) for [EnvFilter] which disables high-frequency debug logs from
|
/// Default [directives](Directive) for [EnvFilter] which disables high-frequency debug logs from
|
||||||
/// `hyper` and `trust-dns`
|
/// `hyper`, `trust-dns` and `discv5`.
|
||||||
const DEFAULT_ENV_FILTER_DIRECTIVES: [&str; 3] =
|
const DEFAULT_ENV_FILTER_DIRECTIVES: [&str; 4] =
|
||||||
["hyper::proto::h1=off", "trust_dns_proto=off", "trust_dns_resolver=off"];
|
["hyper::proto::h1=off", "trust_dns_proto=off", "trust_dns_resolver=off", "discv5=off"];
|
||||||
|
|
||||||
/// Manages the collection of layers for a tracing subscriber.
|
/// Manages the collection of layers for a tracing subscriber.
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user