From 058e988844f4b6b7128dfc7036504abbf7f9b1f4 Mon Sep 17 00:00:00 2001 From: Brooks Date: Wed, 4 Dec 2024 19:08:53 -0500 Subject: [PATCH] Formats logs in calc_delete_dependencies() (#3925) --- accounts-db/src/accounts_db.rs | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/accounts-db/src/accounts_db.rs b/accounts-db/src/accounts_db.rs index ba4d4f62969997..e87b31af11f12b 100644 --- a/accounts-db/src/accounts_db.rs +++ b/accounts-db/src/accounts_db.rs @@ -2245,11 +2245,7 @@ impl AccountsDb { let mut delete = true; for (slot, _account_info) in slot_list { if let Some(count) = store_counts.get(slot).map(|s| s.0) { - debug!( - "calc_delete_dependencies() - slot: {slot}, - count len: {count}" - ); + debug!("calc_delete_dependencies() slot: {slot}, count len: {count}"); if count == 0 { // this store CAN be removed continue; @@ -2268,15 +2264,9 @@ impl AccountsDb { } else { // a pubkey we were planning to remove is not removing all stores that contain the account debug!( - "calc_delete_dependencies(), - pubkey: {}, - slot_list: {:?}, - slot_list_len: {}, - ref_count: {}", - pubkey, - slot_list, + "calc_delete_dependencies(), pubkey: {pubkey}, slot list len: {}, \ + ref count: {ref_count}, slot list: {slot_list:?}", slot_list.len(), - ref_count, ); }