fix(fed): Alter log levels to be less noisy

This commit is contained in:
nexy7574 2025-08-15 04:20:03 +01:00 committed by Jacob Taylor
commit e991a10de2

View file

@ -183,9 +183,9 @@ impl Service {
if let Some(status) = statuses.get(&dest.clone()) { if let Some(status) = statuses.get(&dest.clone()) {
if matches!(status, TransactionStatus::Running) { if matches!(status, TransactionStatus::Running) {
// If the server is in backoff, clear it // If the server is in backoff, clear it
warn!( info!(
?dest, ?dest,
"Catching up destination with {} new events", "Catching up previously failed destination with {}+ new events",
new_events_vec.len() new_events_vec.len()
); );
statuses.insert(dest.clone(), TransactionStatus::Running); statuses.insert(dest.clone(), TransactionStatus::Running);
@ -885,7 +885,7 @@ impl Service {
info!(%txn_id, %server, "Sent {} PDUs, {} EDUs", pdu_count, edu_count); info!(%txn_id, %server, "Sent {} PDUs, {} EDUs", pdu_count, edu_count);
}) })
.inspect_err(|e| { .inspect_err(|e| {
error!(%txn_id, %server, "Failed to send transaction ({} PDUs, {} EDUs): {e:?}", pdu_count, edu_count); info!(%txn_id, %server, "Failed to send transaction ({} PDUs, {} EDUs): {e:?}", pdu_count, edu_count);
}); });
for (event_id, result) in result.iter().flat_map(|resp| resp.pdus.iter()) { for (event_id, result) in result.iter().flat_map(|resp| resp.pdus.iter()) {