lnwallet: don't attach the rpcclient to the lnwallet logging instance
We no longer attach the RPC client to the lnwallet logging instance as it can generate a ton of spam in trace mode as it’ll dump the entire hex encoded blocks, transactions, etc.
This commit is contained in:
2 files changed
+1
-3
No files matched your search
@@ -2,7 +2,6 @@ package lnwallet
|
||||
|
||||
import (
|
||||
"github.com/btcsuite/btclog"
|
||||
"github.com/roasbeef/btcd/rpcclient"
|
||||
"github.com/roasbeef/btcwallet/chain"
|
||||
btcwallet "github.com/roasbeef/btcwallet/wallet"
|
||||
"github.com/roasbeef/btcwallet/wtxmgr"
|
||||
@@ -32,7 +31,6 @@ func UseLogger(logger btclog.Logger) {
|
||||
|
||||
btcwallet.UseLogger(logger)
|
||||
wtxmgr.UseLogger(logger)
|
||||
rpcclient.UseLogger(logger)
|
||||
chain.UseLogger(logger)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user