Adjust log level for counter metrics (#4323)

This commit is contained in:
Pankaj Garg
2019-05-17 07:00:06 -07:00
committed by GitHub
parent e920191de0
commit b2ce5dc9f5
14 changed files with 120 additions and 74 deletions

View File

@@ -8,7 +8,7 @@ use crate::message_processor::has_duplicates;
use bincode::serialize;
use hashbrown::{HashMap, HashSet};
use log::*;
use solana_metrics::inc_new_counter_info;
use solana_metrics::inc_new_counter_error;
use solana_sdk::account::Account;
use solana_sdk::fee_calculator::FeeCalculator;
use solana_sdk::hash::{Hash, Hasher};
@@ -477,9 +477,11 @@ impl Accounts {
})
.collect();
if error_counters.account_in_use != 0 {
inc_new_counter_info!(
inc_new_counter_error!(
"bank-process_transactions-account_in_use",
error_counters.account_in_use
error_counters.account_in_use,
0,
100
);
}
rv