connection: change overly verbose info span to debug

This commit is contained in:
Alessandro Decina
2022-05-05 10:01:49 +00:00
committed by Dirkjan Ochtman
parent 7ef7a5c66b
commit dfa4f0e296
+2 -2
View File
@@ -16,7 +16,7 @@ use rustc_hash::FxHashMap;
use thiserror::Error;
use tokio::sync::{mpsc, oneshot, Notify};
use tokio::time::{sleep_until, Instant as TokioInstant, Sleep};
use tracing::info_span;
use tracing::debug_span;
use udp::UdpState;
use crate::{
@@ -273,7 +273,7 @@ impl Future for ConnectionDriver {
fn poll(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll<Self::Output> {
let conn = &mut *self.0.lock("poll");
let span = info_span!("drive", id = conn.handle.0);
let span = debug_span!("drive", id = conn.handle.0);
let _guard = span.enter();
if let Err(e) = conn.process_conn_events(cx) {