Skip to content

Commit

Permalink
Change tracing::info messages to tracing::debug
Browse files Browse the repository at this point in the history
  • Loading branch information
plaidfinch committed Aug 18, 2023
1 parent 939c105 commit 227b910
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/core/component/distributions/src/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl Component for Distributions {
)
.expect("genesis issuance does not overflow `u64`")
});
tracing::info!(
tracing::debug!(
"total genesis issuance of staking token: {}",
genesis_issuance
);
Expand Down Expand Up @@ -89,7 +89,7 @@ impl Component for Distributions {
.checked_add(state.remainder().await?)
.expect("remainder does not overflow `u64`");

tracing::info!(
tracing::debug!(
?remainder,
?last_epoch_remainder,
?staking_remainder,
Expand All @@ -104,7 +104,7 @@ impl Component for Distributions {
// Get the total issuance and new remainder for this epoch
let (issuance, remainder) = state.total_issuance_and_remainder(remainder).await?;

tracing::info!(new_issuance = ?issuance, new_remainder = ?remainder);
tracing::debug!(new_issuance = ?issuance, new_remainder = ?remainder);

// Set the remainder to be carried over to the next epoch
state.set_remainder(remainder);
Expand All @@ -122,7 +122,7 @@ impl Component for Distributions {
for (component, issuance) in allocation {
use ComponentName::*;
let issuance: u64 = issuance.try_into().expect("total issuance is within `u64`");
tracing::info!(%component, ?issuance, "issuing tokens to component"
tracing::debug!(%component, ?issuance, "issuing tokens to component"
);
match component {
Staking => state.set_staking_issuance(issuance),
Expand Down

0 comments on commit 227b910

Please sign in to comment.