Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection: change overly verbose info span to debug #1351

Merged
merged 1 commit into from May 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions quinn/src/connection.rs
Expand Up @@ -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::{
Expand Down Expand Up @@ -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) {
Expand Down