lndk-org / lndk

MIT License
76 stars 19 forks source link

Task: integration test bitcoind logs are too noisy #130

Open orbitalturtle opened 3 weeks ago

orbitalturtle commented 3 weeks ago

Description

When we run make itest to run the integration tests, the output from our test bitcoind node is very noisy:

2024-07-01T21:43:30.363735151-05:00 DEBUG bitcoind - launching "/home/orbital/Code/lightning/rust/lndk/target/debug/build/bitcoind-a5417bdf6a74bd1a/out/bitcoin/bitcoin-22.0/bin/bitcoind" with args: ["-datadir=/tmp/.tmpRvoS1z/.tmpZ7mHwH", "-rpcport=38025"] ["-listen=0"] AND custom args: ["-regtest", "-zmqpubrawblock=tcp://127.0.0.1:34775", "-zmqpubrawtx=tcp://127.0.0.1:45167"]
2024-07-01T21:43:30.464029103-05:00 DEBUG bitcoind - bitcoin client for process 2823599 not ready (0)
2024-07-01T21:43:30.564338942-05:00 DEBUG bitcoincore_rpc - JSON-RPC request: getblockchaininfo []
2024-07-01T21:43:30.565777030-05:00 TRACE bitcoincore_rpc - JSON-RPC response for getblockchaininfo: {"chain":"regtest","blocks":0,"headers":0,"bestblockhash":"0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206","difficulty":4.656542373906925e-10,"mediantime":1296688602,"verificationprogress":1,"initialblockdownload":true,"chainwork":"0000000000000000000000000000000000000000000000000000000000000002","size_on_disk":293,"pruned":false,"softforks":{"bip34":{"type":"buried","active":false,"height":500},"bip66":{"type":"buried","active":false,"height":1251},"bip65":{"type":"buried","active":false,"height":1351},"csv":{"type":"buried","active":false,"height":432},"segwit":{"type":"buried","active":true,"height":0},"testdummy":{"type":"bip9","bip9":{"status":"defined","start_time":0,"timeout":9223372036854775807,"since":0,"min_activation_height":0},"active":false},"taproot":{"type":"bip9","bip9":{"status":"active","start_time":-1,"timeout":9223372036854775807,"since":0,"min_activation_height":0},"height":0,"active":true}},"warnings":""}

It'd be nice to limit these logs to info