mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-04 13:24:39 +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) => {
|
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(),
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user