From 570832cd37c075b0bb569759c2cefd3d10c5c175 Mon Sep 17 00:00:00 2001 From: Daniel Karzel Date: Fri, 26 Feb 2021 11:39:48 +1100 Subject: [PATCH] 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. --- monero-harness/tests/testutils/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/monero-harness/tests/testutils/mod.rs b/monero-harness/tests/testutils/mod.rs index b5ae5d6f..0f4f34f3 100644 --- a/monero-harness/tests/testutils/mod.rs +++ b/monero-harness/tests/testutils/mod.rs @@ -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() }