Upgrades trace logging for Sync RPC method (#784)
This commit is contained in:
parent
95fc840e2c
commit
1aaeb6b505
@ -384,7 +384,7 @@ impl<T: BeaconChainTypes> MessageProcessor<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if blocks_sent < (req.count as usize) {
|
if blocks_sent < (req.count as usize) {
|
||||||
trace!(
|
debug!(
|
||||||
self.log,
|
self.log,
|
||||||
"BlocksByRange Response Sent";
|
"BlocksByRange Response Sent";
|
||||||
"peer" => format!("{:?}", peer_id),
|
"peer" => format!("{:?}", peer_id),
|
||||||
@ -394,7 +394,7 @@ impl<T: BeaconChainTypes> MessageProcessor<T> {
|
|||||||
"requested" => req.count,
|
"requested" => req.count,
|
||||||
"returned" => blocks_sent);
|
"returned" => blocks_sent);
|
||||||
} else {
|
} else {
|
||||||
trace!(
|
debug!(
|
||||||
self.log,
|
self.log,
|
||||||
"Sending BlocksByRange Response";
|
"Sending BlocksByRange Response";
|
||||||
"peer" => format!("{:?}", peer_id),
|
"peer" => format!("{:?}", peer_id),
|
||||||
|
Loading…
Reference in New Issue
Block a user