Lower debug! logs to trace! (#3053)

## Issue Addressed

These logs were very loud during sync.
This commit is contained in:
Paul Hauner 2022-03-03 22:37:42 +00:00
parent aea43b626b
commit 09d2187198

View File

@ -9,7 +9,7 @@ use engines::{Engine, EngineError, Engines, ForkChoiceState, Logging};
use lru::LruCache; use lru::LruCache;
use payload_status::process_multiple_payload_statuses; use payload_status::process_multiple_payload_statuses;
use sensitive_url::SensitiveUrl; use sensitive_url::SensitiveUrl;
use slog::{crit, debug, error, info, Logger}; use slog::{crit, debug, error, info, trace, Logger};
use slot_clock::SlotClock; use slot_clock::SlotClock;
use std::collections::HashMap; use std::collections::HashMap;
use std::future::Future; use std::future::Future;
@ -475,7 +475,7 @@ impl ExecutionLayer {
&self, &self,
execution_payload: &ExecutionPayload<T>, execution_payload: &ExecutionPayload<T>,
) -> Result<PayloadStatus, Error> { ) -> Result<PayloadStatus, Error> {
debug!( trace!(
self.log(), self.log(),
"Issuing engine_newPayload"; "Issuing engine_newPayload";
"parent_hash" => ?execution_payload.parent_hash, "parent_hash" => ?execution_payload.parent_hash,
@ -514,7 +514,7 @@ impl ExecutionLayer {
finalized_block_hash: ExecutionBlockHash, finalized_block_hash: ExecutionBlockHash,
payload_attributes: Option<PayloadAttributes>, payload_attributes: Option<PayloadAttributes>,
) -> Result<PayloadStatus, Error> { ) -> Result<PayloadStatus, Error> {
debug!( trace!(
self.log(), self.log(),
"Issuing engine_forkchoiceUpdated"; "Issuing engine_forkchoiceUpdated";
"finalized_block_hash" => ?finalized_block_hash, "finalized_block_hash" => ?finalized_block_hash,