Skip to content

Commit

Permalink
Remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
JEnoch committed Oct 10, 2023
1 parent 1840c5b commit 6101764
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zenoh-plugin-ros2dds/src/route_service_srv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ impl RouteServiceSrv<'_> {
let client_id_str = new_service_id(&context.participant)?;
let user_data = format!("clientid= {client_id_str};");
qos.user_data = Some(user_data.into_bytes());
log::debug!("{route_id}: using id '{client_id_str}' => USER_DATA={:?}", qos.user_data.as_ref().unwrap());
log::debug!(
"{route_id}: using id '{client_id_str}' => USER_DATA={:?}",
qos.user_data.as_ref().unwrap()
);

// create DDS Writer to send requests coming from Zenoh to the Service
let req_topic_name = format!("rq{ros2_name}Request");
Expand Down Expand Up @@ -384,8 +387,6 @@ fn do_route_request(
dds_req_buf
};

println!("<--- {route_id}: routing request #{n} to Service - client_guid: {client_guid:02x?}");

if *LOG_PAYLOAD {
log::trace!("{route_id}: routing request #{n} to Service - payload: {dds_req_buf:02x?}");
} else {
Expand Down Expand Up @@ -431,7 +432,6 @@ fn do_route_reply(
} else {
u64::from_le_bytes(dds_rep_buf[12..20].try_into().unwrap())
};
println!("---> {route_id}: routing reply #{seq_num} to Client - client_guid: {client_guid:02x?}");

if guid != client_guid {
log::warn!(
Expand Down

0 comments on commit 6101764

Please sign in to comment.