From 6f7c8403de2b51f5637b2889e1e94e4cfd402e86 Mon Sep 17 00:00:00 2001 From: Thomas Braun Date: Wed, 10 Apr 2024 12:55:20 -0400 Subject: [PATCH] Cleanup --- .../src/proto/packet_processor/peer/peer_cmd_packet.rs | 2 -- citadel_sdk/src/test_common.rs | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/citadel_proto/src/proto/packet_processor/peer/peer_cmd_packet.rs b/citadel_proto/src/proto/packet_processor/peer/peer_cmd_packet.rs index 8f4d12798..47df61a03 100644 --- a/citadel_proto/src/proto/packet_processor/peer/peer_cmd_packet.rs +++ b/citadel_proto/src/proto/packet_processor/peer/peer_cmd_packet.rs @@ -150,8 +150,6 @@ pub async fn process_peer_cmd( }; spawn!(task); - } else { - log::warn!(target: "citadel", "Vconn already removed"); } session.send_to_kernel(NodeResult::PeerEvent(PeerEvent { diff --git a/citadel_sdk/src/test_common.rs b/citadel_sdk/src/test_common.rs index 5fccc8e2e..cced7723b 100644 --- a/citadel_sdk/src/test_common.rs +++ b/citadel_sdk/src/test_common.rs @@ -155,7 +155,7 @@ lazy_static::lazy_static! { std::thread::sleep(Duration::from_secs(5)); let deadlocks = deadlock::check_deadlock(); if deadlocks.is_empty() { - log::error!(target: "citadel", "No deadlocks detected"); + log::trace!(target: "citadel", "No deadlocks detected"); continue; } @@ -163,7 +163,7 @@ lazy_static::lazy_static! { for (i, threads) in deadlocks.iter().enumerate() { log::error!(target: "citadel", "Deadlock #{}", i); for t in threads { - log::info!(target: "citadel", "Thread Id {:#?}", t.thread_id()); + log::error!(target: "citadel", "Thread Id {:#?}", t.thread_id()); log::error!(target: "citadel", "{:#?}", t.backtrace()); } }