From 66077b172200519c736e3ab1a20bf02cbd426eac Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 24 Mar 2025 15:49:03 -0700 Subject: [PATCH] chainio: demote per-block logging to Debugf --- chainio/dispatcher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chainio/dispatcher.go b/chainio/dispatcher.go index 3f22948bd..f1fce35b5 100644 --- a/chainio/dispatcher.go +++ b/chainio/dispatcher.go @@ -162,7 +162,7 @@ func (b *BlockbeatDispatcher) dispatchBlocks( // new block arrives for subsystems. clog.Debugf("%v", lnutils.NewSeparatorClosure()) - clog.Infof("Received new block %v at height %d, "+ + clog.Debugf("Received new block %v at height %d, "+ "notifying consumers...", blockEpoch.Hash, blockEpoch.Height) @@ -179,7 +179,7 @@ func (b *BlockbeatDispatcher) dispatchBlocks( b.log().Errorf("Notify block failed: %v", err) } - b.log().Infof("Notified all consumers on new block "+ + b.log().Debugf("Notified all consumers on new block "+ "in %v", time.Since(start)) // A query has been made to fetch the current height, we now