mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Merge #235
235: monero-rpc debug log for moner-harness tests r=thomaseizinger a=da-kami 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. Co-authored-by: Daniel Karzel <daniel@comit.network>
This commit is contained in:
commit
08b036142f
@ -16,12 +16,13 @@ pub fn init_tracing() -> DefaultGuard {
|
|||||||
let global_filter = tracing::Level::WARN;
|
let global_filter = tracing::Level::WARN;
|
||||||
let test_filter = tracing::Level::DEBUG;
|
let test_filter = tracing::Level::DEBUG;
|
||||||
let monero_harness_filter = tracing::Level::DEBUG;
|
let monero_harness_filter = tracing::Level::DEBUG;
|
||||||
|
let monero_rpc_filter = tracing::Level::DEBUG;
|
||||||
|
|
||||||
use tracing_subscriber::util::SubscriberInitExt as _;
|
use tracing_subscriber::util::SubscriberInitExt as _;
|
||||||
tracing_subscriber::fmt()
|
tracing_subscriber::fmt()
|
||||||
.with_env_filter(format!(
|
.with_env_filter(format!(
|
||||||
"{},test={},monero_harness={}",
|
"{},test={},monero_harness={},monero_rpc={}",
|
||||||
global_filter, test_filter, monero_harness_filter,
|
global_filter, test_filter, monero_harness_filter, monero_rpc_filter,
|
||||||
))
|
))
|
||||||
.set_default()
|
.set_default()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user