mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 11:41:51 +00:00
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:
@@ -2391,7 +2391,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
Ok(verified) => {
|
||||
debug!(
|
||||
chain.log,
|
||||
"Successfully processed gossip block";
|
||||
"Successfully verified gossip block";
|
||||
"graffiti" => graffiti_string,
|
||||
"slot" => slot,
|
||||
"root" => ?verified.block_root(),
|
||||
|
||||
@@ -338,7 +338,7 @@ impl<T: BeaconChainTypes> Worker<T> {
|
||||
if blocks_sent < (req.count as usize) {
|
||||
debug!(
|
||||
self.log,
|
||||
"BlocksByRange Response processed";
|
||||
"BlocksByRange outgoing response processed";
|
||||
"peer" => %peer_id,
|
||||
"msg" => "Failed to return all requested blocks",
|
||||
"start_slot" => req.start_slot,
|
||||
@@ -349,7 +349,7 @@ impl<T: BeaconChainTypes> Worker<T> {
|
||||
} else {
|
||||
debug!(
|
||||
self.log,
|
||||
"BlocksByRange Response processed";
|
||||
"BlocksByRange outgoing response processed";
|
||||
"peer" => %peer_id,
|
||||
"start_slot" => req.start_slot,
|
||||
"current_slot" => current_slot,
|
||||
|
||||
Reference in New Issue
Block a user