mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-19 03:04:27 -05:00
feat(tracing): add jsonrpsee targets to profiling filter (#21981)
This commit is contained in:
committed by
GitHub
parent
600eab20a5
commit
503b9b87a6
@@ -12,8 +12,20 @@ use tracing::{level_filters::LevelFilter, Level};
|
||||
/// Constant to convert megabytes to bytes
|
||||
const MB_TO_BYTES: u64 = 1024 * 1024;
|
||||
|
||||
const PROFILER_TRACING_FILTER: &str =
|
||||
"info,engine=debug,trie=debug,providers=debug,rpc=debug,sync=debug,pruner=debug,libmdbx=debug";
|
||||
const PROFILER_TRACING_FILTER: &str = concat!(
|
||||
"info",
|
||||
",engine=debug",
|
||||
",trie=debug",
|
||||
",providers=debug",
|
||||
",rpc=debug",
|
||||
",sync=debug",
|
||||
",pruner=debug",
|
||||
",libmdbx=debug",
|
||||
",jsonrpsee-server=debug",
|
||||
",jsonrpsee-core=debug",
|
||||
",jsonrpsee-http=debug",
|
||||
",jsonrpsee=debug",
|
||||
);
|
||||
|
||||
/// The log configuration.
|
||||
#[derive(Debug, Args)]
|
||||
|
||||
Reference in New Issue
Block a user