Skip to content

Commit

Permalink
chore: reduce logs (#6758)
Browse files Browse the repository at this point in the history
Description
---
Reduce logging intensity
  • Loading branch information
SWvheerden authored Jan 23, 2025
1 parent 9de0906 commit 811bd05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions base_layer/core/src/chain_storage/blockchain_database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1186,9 +1186,9 @@ where B: BlockchainBackend
});
}

debug!(target: LOG_TARGET, "Fetching blocks {}-{}", start, end);
trace!(target: LOG_TARGET, "Fetching blocks {}-{}", start, end);
let blocks = fetch_blocks(&*db, start, end, compact)?;
debug!(target: LOG_TARGET, "Fetched {} block(s)", blocks.len());
trace!(target: LOG_TARGET, "Fetched {} block(s)", blocks.len());

Ok(blocks)
}
Expand Down
4 changes: 2 additions & 2 deletions base_layer/core/src/transactions/coinbase_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ pub async fn generate_coinbase_with_wallet_output(
.first()
.ok_or(CoinbaseBuildError::BuildError("No kernel found".to_string()))?;

debug!(target: LOG_TARGET, "Coinbase kernel: {}", kernel.clone());
debug!(target: LOG_TARGET, "Coinbase output: {}", output.clone());
trace!(target: LOG_TARGET, "Coinbase kernel: {}", kernel.clone());
trace!(target: LOG_TARGET, "Coinbase output: {}", output.clone());
Ok((transaction.clone(), output.clone(), kernel.clone(), wallet_output))
}

Expand Down

0 comments on commit 811bd05

Please sign in to comment.