@@ -28,7 +28,7 @@ use tokio::sync::{
2828 mpsc:: { UnboundedReceiver , UnboundedSender } ,
2929 oneshot,
3030} ;
31- use tracing:: { debug, error, info, warn, Instrument as _} ;
31+ use tracing:: { debug, error, info, trace , warn, Instrument as _} ;
3232
3333pub const REGENERATE_PROOFS : bool = true ;
3434
@@ -315,7 +315,7 @@ impl InnerCacheTask {
315315 if pending_roots. len ( ) >= 256 {
316316 let write_tx = self . db . tx_mut ( ) ?;
317317 for root in pending_roots. drain ( ..) {
318- debug ! (
318+ trace ! (
319319 chunk. data_root = ?root,
320320 "Pruning chunks for data root without active proofs"
321321 ) ;
@@ -397,17 +397,19 @@ impl InnerCacheTask {
397397 let max_height: u64 = match horizon {
398398 Some ( h) => h,
399399 None => {
400- debug ! (
400+ trace ! (
401401 data_root. data_root = ?data_root,
402402 "Skipping prune for data root without inclusion or expiry"
403403 ) ;
404404 continue ;
405405 }
406406 } ;
407407
408- debug ! (
408+ trace ! (
409409 "Processing data root {} max height: {}, prune height: {}" ,
410- & data_root, & max_height, & prune_height
410+ & data_root,
411+ & max_height,
412+ & prune_height
411413 ) ;
412414
413415 if max_height < prune_height {
@@ -426,7 +428,7 @@ impl InnerCacheTask {
426428 }
427429
428430 if has_local_proof {
429- debug ! (
431+ trace ! (
430432 data_root. data_root = ?data_root,
431433 "Skipping prune for data root with locally generated ingress proof"
432434 ) ;
0 commit comments