From 2f21cfbf7a608915abedea8974953abfe92a47a9 Mon Sep 17 00:00:00 2001 From: Denis Biryukov Date: Wed, 14 Feb 2024 11:23:20 +0100 Subject: [PATCH] reduce priority of logging to trace, in case we fail to conver protocol priority to user one --- zenoh/src/sample.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zenoh/src/sample.rs b/zenoh/src/sample.rs index 5c24dac963..c658e15a28 100644 --- a/zenoh/src/sample.rs +++ b/zenoh/src/sample.rs @@ -533,7 +533,10 @@ impl QoS { let priority = match Priority::try_from(ext.get_priority()) { Ok(p) => p, Err(e) => { - log::error!("Failed to convert priority: {}", e.to_string()); + log::trace!( + "Failed to convert priority: {}; replacing with default value", + e.to_string() + ); Priority::default() } };