Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task: integration test bitcoind logs are too noisy #130

Open
orbitalturtle opened this issue Jul 2, 2024 · 0 comments
Open

Task: integration test bitcoind logs are too noisy #130

orbitalturtle opened this issue Jul 2, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@orbitalturtle
Copy link
Collaborator

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

@orbitalturtle orbitalturtle added the good first issue Good for newcomers label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant