From 8d32357266204ec6a0a3fe191e0b6e6a8d91ea27 Mon Sep 17 00:00:00 2001 From: Alex Koshelev Date: Tue, 5 Dec 2023 10:58:08 -0800 Subject: [PATCH] Info span for send --- ipa-core/src/helpers/buffers/ordering_sender.rs | 2 +- ipa-core/src/helpers/gateway/send.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ipa-core/src/helpers/buffers/ordering_sender.rs b/ipa-core/src/helpers/buffers/ordering_sender.rs index 5a11708f9..a017a80a9 100644 --- a/ipa-core/src/helpers/buffers/ordering_sender.rs +++ b/ipa-core/src/helpers/buffers/ordering_sender.rs @@ -385,7 +385,7 @@ impl OrderingSender { if let Poll::Ready(v) = b.take(cx) { self.waiting.wake(self.next.load(Acquire)); - tracing::trace!("Sending next {} bytes", v.len()); + tracing::info!("Sending next {} bytes", v.len()); Poll::Ready(Some(v)) } else if b.closed { Poll::Ready(None) diff --git a/ipa-core/src/helpers/gateway/send.rs b/ipa-core/src/helpers/gateway/send.rs index 9009a05ba..29bc0d5fe 100644 --- a/ipa-core/src/helpers/gateway/send.rs +++ b/ipa-core/src/helpers/gateway/send.rs @@ -181,7 +181,7 @@ impl Stream for GatewaySendStream { fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { let channel_id = &self.inner.channel_id; - let span = tracing::trace_span!("send", to = ?channel_id.role, gate = ?channel_id.gate); + let span = tracing::info_span!("send", to = ?channel_id.role, gate = ?channel_id.gate); let _enter = span.enter(); Pin::get_mut(self).inner.ordering_tx.take_next(cx) }