Downgrade log level in net::tx target (#6675)

This commit is contained in:
Emilia Hane
2024-02-19 19:24:16 +01:00
committed by GitHub
parent d05b36d18c
commit 2356dec1fb
2 changed files with 4 additions and 4 deletions

View File

@ -320,7 +320,7 @@ impl TransactionFetcher {
fallback_peers.insert(peer_id);
} else {
if *retries >= DEFAULT_MAX_RETRIES {
debug!(target: "net::tx",
trace!(target: "net::tx",
hash=%hash,
retries=retries,
"retry limit for `GetPooledTransactions` requests reached for hash, dropping hash"
@ -544,7 +544,7 @@ impl TransactionFetcher {
let conn_eth_version = peer.version;
if self.active_peers.len() >= self.info.max_inflight_requests {
debug!(target: "net::tx",
trace!(target: "net::tx",
peer_id=format!("{peer_id:#}"),
new_announced_hashes=?*new_announced_hashes,
conn_eth_version=%conn_eth_version,
@ -565,7 +565,7 @@ impl TransactionFetcher {
};
if *inflight_count >= DEFAULT_MAX_COUNT_CONCURRENT_REQUESTS_PER_PEER {
debug!(target: "net::tx",
trace!(target: "net::tx",
peer_id=format!("{peer_id:#}"),
new_announced_hashes=?*new_announced_hashes,
conn_eth_version=%conn_eth_version,

View File

@ -589,7 +589,7 @@ where
// get handle to peer's session, if the session is still active
let Some(peer) = self.peers.get_mut(&peer_id) else {
debug!(
trace!(
peer_id=format!("{peer_id:#}"),
msg=?msg,
"discarding announcement from inactive peer"