Skip to content

Commit

Permalink
more logging improvements (#4885)
Browse files Browse the repository at this point in the history
## Issue Addressed

-downgrades `Missing components over rpc` to debug because this isn't unusual and just results in a re-try
-removes the result from  `Block component processed for lookup` because this prints the full block on an unknown parent error

Co-authored-by: realbigsean <[email protected]>
  • Loading branch information
realbigsean and realbigsean committed Nov 3, 2023
1 parent f2aabe9 commit bcca88a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
);
}
Ok(AvailabilityProcessingStatus::MissingComponents(_, _)) => {
warn!(
debug!(
self.log,
"Missing components over rpc";
"block_hash" => %block_root,
Expand Down
2 changes: 1 addition & 1 deletion beacon_node/network/src/sync/block_lookups/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ impl<T: BeaconChainTypes> BlockLookups<T> {
self.log,
"Block component processed for lookup";
"response_type" => ?R::response_type(),
"result" => ?result,
"block_root" => ?root,
);

match result {
Expand Down

0 comments on commit bcca88a

Please sign in to comment.