Improve logging a little (#3619)

Some of the logs in combination with others could be improved. 

It will save some time debugging by improving the wording slightly.
This commit is contained in:
Age Manning 2022-09-29 01:50:12 +00:00
parent b1d2510d1b
commit 01b6bf7a2d
2 changed files with 3 additions and 3 deletions

View File

@ -2391,7 +2391,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
Ok(verified) => { Ok(verified) => {
debug!( debug!(
chain.log, chain.log,
"Successfully processed gossip block"; "Successfully verified gossip block";
"graffiti" => graffiti_string, "graffiti" => graffiti_string,
"slot" => slot, "slot" => slot,
"root" => ?verified.block_root(), "root" => ?verified.block_root(),

View File

@ -338,7 +338,7 @@ impl<T: BeaconChainTypes> Worker<T> {
if blocks_sent < (req.count as usize) { if blocks_sent < (req.count as usize) {
debug!( debug!(
self.log, self.log,
"BlocksByRange Response processed"; "BlocksByRange outgoing response processed";
"peer" => %peer_id, "peer" => %peer_id,
"msg" => "Failed to return all requested blocks", "msg" => "Failed to return all requested blocks",
"start_slot" => req.start_slot, "start_slot" => req.start_slot,
@ -349,7 +349,7 @@ impl<T: BeaconChainTypes> Worker<T> {
} else { } else {
debug!( debug!(
self.log, self.log,
"BlocksByRange Response processed"; "BlocksByRange outgoing response processed";
"peer" => %peer_id, "peer" => %peer_id,
"start_slot" => req.start_slot, "start_slot" => req.start_slot,
"current_slot" => current_slot, "current_slot" => current_slot,