mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +00:00
Disable the interest cache (#11854)
* Disable the interest cache The feature is currently broken with the latest `tracing-core`. We will enable it again, when it is fixed upstream. * FMT
This commit is contained in:
@@ -155,10 +155,7 @@ where
|
||||
let max_level_hint = Layer::<FmtSubscriber>::max_level_hint(&env_filter);
|
||||
let max_level = to_log_level_filter(max_level_hint);
|
||||
|
||||
tracing_log::LogTracer::builder()
|
||||
.with_max_level(max_level)
|
||||
.with_interest_cache(tracing_log::InterestCacheConfig::default())
|
||||
.init()?;
|
||||
tracing_log::LogTracer::builder().with_max_level(max_level).init()?;
|
||||
|
||||
// If we're only logging `INFO` entries then we'll use a simplified logging format.
|
||||
let detailed_output = match max_level_hint {
|
||||
|
||||
Reference in New Issue
Block a user