mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +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";
|
||||
|
||||
/// Default [directives](Directive) for [EnvFilter] which disables high-frequency debug logs from
|
||||
/// `hyper` and `trust-dns`
|
||||
const DEFAULT_ENV_FILTER_DIRECTIVES: [&str; 3] =
|
||||
["hyper::proto::h1=off", "trust_dns_proto=off", "trust_dns_resolver=off"];
|
||||
/// `hyper`, `trust-dns` and `discv5`.
|
||||
const DEFAULT_ENV_FILTER_DIRECTIVES: [&str; 4] =
|
||||
["hyper::proto::h1=off", "trust_dns_proto=off", "trust_dns_resolver=off", "discv5=off"];
|
||||
|
||||
/// Manages the collection of layers for a tracing subscriber.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user