mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-11 07:29:39 -05:00
Add monero rpc log filter to harness tracing
This allows us to see the response from the monerod client on debug. When the monero-harness was split up into harness and rpc this was overlooked. We need the debug logs to investigate the monero harness CI fail bug.
This commit is contained in:
parent
fffa679f42
commit
570832cd37
@ -16,12 +16,13 @@ pub fn init_tracing() -> DefaultGuard {
|
||||
let global_filter = tracing::Level::WARN;
|
||||
let test_filter = tracing::Level::DEBUG;
|
||||
let monero_harness_filter = tracing::Level::DEBUG;
|
||||
let monero_rpc_filter = tracing::Level::DEBUG;
|
||||
|
||||
use tracing_subscriber::util::SubscriberInitExt as _;
|
||||
tracing_subscriber::fmt()
|
||||
.with_env_filter(format!(
|
||||
"{},test={},monero_harness={}",
|
||||
global_filter, test_filter, monero_harness_filter,
|
||||
"{},test={},monero_harness={},monero_rpc={}",
|
||||
global_filter, test_filter, monero_harness_filter, monero_rpc_filter,
|
||||
))
|
||||
.set_default()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user