Skip to content

Commit

Permalink
Silent annoying log (paritytech#6351)
Browse files Browse the repository at this point in the history
The logline in question doesn't indeed present any interest for a node
operator (I mean, there is not much he can do about that warning), but
in a heavy transaction load situation, when each of 5000 transactions in
txpool produces a warning, it's really annoying. Still, it's useful for
a developer, so I propose to log it at the `debug` level.
  • Loading branch information
s0me0ne-unkn0wn authored Nov 4, 2024
1 parent d69a80e commit f1e416a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cumulus/primitives/storage-weight-reclaim/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ where
let block_weight_proof_size = current.total().proof_size();
let missing_from_node = node_side_pov_size.saturating_sub(block_weight_proof_size);
if missing_from_node > 0 {
log::warn!(
log::debug!(
target: LOG_TARGET,
"Node-side PoV size higher than runtime proof size weight. node-side: {node_side_pov_size} extrinsic_len: {extrinsic_len} runtime: {block_weight_proof_size}, missing: {missing_from_node}. Setting to node-side proof size."
);
Expand Down

0 comments on commit f1e416a

Please sign in to comment.