diff --git a/io/zenoh-transport/src/multicast/rx.rs b/io/zenoh-transport/src/multicast/rx.rs index d8a6aaeb02..93dc3c727a 100644 --- a/io/zenoh-transport/src/multicast/rx.rs +++ b/io/zenoh-transport/src/multicast/rx.rs @@ -13,8 +13,6 @@ // use std::sync::MutexGuard; -#[cfg(feature = "shared-memory")] -use tracing::error; use zenoh_core::{zlock, zread}; use zenoh_protocol::{ core::{Locator, Priority, Reliability}, @@ -47,7 +45,7 @@ impl TransportMulticastInner { { if self.manager.config.multicast.is_shm { if let Err(e) = crate::shm::map_zmsg_to_shmbuf(&mut msg, &self.manager.shmr) { - error!("Error receiving SHM buffer: {e}"); + tracing::debug!("Error receiving SHM buffer: {e}"); return Ok(()); } } diff --git a/io/zenoh-transport/src/unicast/lowlatency/rx.rs b/io/zenoh-transport/src/unicast/lowlatency/rx.rs index 0484a4a028..3dd499000d 100644 --- a/io/zenoh-transport/src/unicast/lowlatency/rx.rs +++ b/io/zenoh-transport/src/unicast/lowlatency/rx.rs @@ -11,8 +11,6 @@ // Contributors: // ZettaScale Zenoh Team, // -#[cfg(feature = "shared-memory")] -use tracing::error; use zenoh_buffers::{ reader::{HasReader, Reader}, ZSlice, @@ -40,7 +38,7 @@ impl TransportUnicastLowlatency { { if self.config.shm.is_some() { if let Err(e) = crate::shm::map_zmsg_to_shmbuf(&mut msg, &self.manager.shmr) { - error!("Error receiving SHM buffer: {e}"); + tracing::debug!("Error receiving SHM buffer: {e}"); return Ok(()); } } diff --git a/io/zenoh-transport/src/unicast/universal/rx.rs b/io/zenoh-transport/src/unicast/universal/rx.rs index 71e674bdb8..afd8e114d7 100644 --- a/io/zenoh-transport/src/unicast/universal/rx.rs +++ b/io/zenoh-transport/src/unicast/universal/rx.rs @@ -13,8 +13,6 @@ // use std::sync::MutexGuard; -#[cfg(feature = "shared-memory")] -use tracing::error; use zenoh_core::{zlock, zread}; use zenoh_link::Link; use zenoh_protocol::{ @@ -48,7 +46,7 @@ impl TransportUnicastUniversal { { if self.config.shm.is_some() { if let Err(e) = crate::shm::map_zmsg_to_shmbuf(&mut msg, &self.manager.shmr) { - error!("Error receiving SHM buffer: {e}"); + tracing::debug!("Error receiving SHM buffer: {e}"); return Ok(()); } }