Tweak log messages

This commit is contained in:
Michael Vines 2018-09-18 11:31:00 -07:00
parent 83ae5bcee2
commit 1f08b22c8e
1 changed files with 3 additions and 3 deletions

View File

@ -398,7 +398,7 @@ impl Bank {
/// Process a batch of transactions.
#[must_use]
pub fn process_transactions(&self, txs: Vec<Transaction>) -> Vec<Result<Transaction>> {
debug!("processing Transactions {}", txs.len());
debug!("processing transactions: {}", txs.len());
// TODO right now a single write lock is held for the duration of processing all the
// transactions
// To break this lock each account needs to be locked to prevent concurrent access
@ -422,7 +422,7 @@ impl Bank {
Self::store_accounts(&res, &loaded_accounts, &mut accounts);
let write_elapsed = now.elapsed();
debug!(
"load: {} us execution: {} us write: {} us tx: {}",
"load: {}us execution: {}us write: {}us txs_len={}",
duration_as_us(&load_elapsed),
duration_as_us(&execution_elapsed),
duration_as_us(&write_elapsed),
@ -435,7 +435,7 @@ impl Bank {
tx_count += 1;
} else {
if err_count == 0 {
trace!("tx error: {:?}", r);
debug!("tx error: {:?}", r);
}
err_count += 1;
}