From 42cf252f7eef4d655490ca3827e95f5ae92ffd45 Mon Sep 17 00:00:00 2001 From: Alexander Bushnev Date: Wed, 31 Jan 2024 17:17:01 +0100 Subject: [PATCH] Add some debug output --- .github/workflows/ci.yml | 2 +- zenoh/src/net/routing/interceptor/downsampling.rs | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73af857728..51fbb62cf2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -93,7 +93,7 @@ jobs: uses: taiki-e/install-action@nextest - name: Run tests - run: cargo nextest run --exclude zenoh-examples --exclude zenoh-plugin-example --workspace -- --nocapture + run: cargo nextest run --exclude zenoh-examples --exclude zenoh-plugin-example --workspace env: CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse ASYNC_STD_THREAD_COUNT: 4 diff --git a/zenoh/src/net/routing/interceptor/downsampling.rs b/zenoh/src/net/routing/interceptor/downsampling.rs index 522b1a9f93..94b11a3033 100644 --- a/zenoh/src/net/routing/interceptor/downsampling.rs +++ b/zenoh/src/net/routing/interceptor/downsampling.rs @@ -109,12 +109,17 @@ impl InterceptorFactoryTrait for DownsamplerInterceptor { log::debug!("New transport unicast {:?}", transport); if let Some(interface) = self.conf.interface.clone() { log::debug!("New downsampler transport unicast interface: {}", interface); + print!("New downsampler transport unicast interface: {}", interface); if let Ok(links) = transport.get_links() { for link in links { log::debug!( "New downsampler transport unicast interfaces: {:?}", link.interfaces ); + print!( + "New downsampler transport unicast interfaces: {:?}", + link.interfaces + ); if !link.interfaces.contains(&interface) { return (None, None); }