From d8863bea8c4059a3df92f64b575685c44b3250fd Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Wed, 10 Oct 2018 15:00:50 +0200 Subject: [PATCH] routing/chainview: demote logging of new utxos for filter to Trace It was previously Debug, which would spam the logs at startup, and not provide very useful (human-readable) information. --- routing/chainview/bitcoind.go | 2 +- routing/chainview/btcd.go | 2 +- routing/chainview/neutrino.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/routing/chainview/bitcoind.go b/routing/chainview/bitcoind.go index 5e03e63f..d793dfb7 100644 --- a/routing/chainview/bitcoind.go +++ b/routing/chainview/bitcoind.go @@ -302,7 +302,7 @@ func (b *BitcoindFilteredChainView) chainFilterer() { // First, we'll add all the new UTXO's to the set of // watched UTXO's, eliminating any duplicates in the // process. - log.Debugf("Updating chain filter with new UTXO's: %v", + log.Tracef("Updating chain filter with new UTXO's: %v", update.newUtxos) b.filterMtx.Lock() diff --git a/routing/chainview/btcd.go b/routing/chainview/btcd.go index 34d106b3..87243b2e 100644 --- a/routing/chainview/btcd.go +++ b/routing/chainview/btcd.go @@ -322,7 +322,7 @@ func (b *BtcdFilteredChainView) chainFilterer() { // First, we'll add all the new UTXO's to the set of // watched UTXO's, eliminating any duplicates in the // process. - log.Debugf("Updating chain filter with new UTXO's: %v", + log.Tracef("Updating chain filter with new UTXO's: %v", update.newUtxos) b.filterMtx.Lock() diff --git a/routing/chainview/neutrino.go b/routing/chainview/neutrino.go index 6a22bbb1..61d4601c 100644 --- a/routing/chainview/neutrino.go +++ b/routing/chainview/neutrino.go @@ -318,7 +318,7 @@ func (c *CfFilteredChainView) FilterBlock(blockHash *chainhash.Hash) (*FilteredB func (c *CfFilteredChainView) UpdateFilter(ops []channeldb.EdgePoint, updateHeight uint32) error { - log.Debugf("Updating chain filter with new UTXO's: %v", ops) + log.Tracef("Updating chain filter with new UTXO's: %v", ops) // First, we'll update the current chain view, by adding any new // UTXO's, ignoring duplicates in the process.