Skip to content

Commit

Permalink
reduce log level
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Nov 29, 2024
1 parent 0e61e61 commit 8faef44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iroh/src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ use futures_buffered::join_all;
use futures_lite::future::Boxed as BoxedFuture;
use tokio::{sync::Mutex, task::JoinSet};
use tokio_util::{sync::CancellationToken, task::AbortOnDropHandle};
use tracing::{debug, error, warn};
use tracing::{error, trace, warn};

use crate::{endpoint::Connecting, Endpoint};

Expand Down Expand Up @@ -290,17 +290,17 @@ impl RouterBuilder {
error!("Task panicked: {outer:?}");
break;
} else if outer.is_cancelled() {
debug!("Task cancelled: {outer:?}");
trace!("Task cancelled: {outer:?}");
} else {
error!("Task failed: {outer:?}");
break;
}
}
Some(Ok(Some(()))) => {
debug!("Task finished");
trace!("Task finished");
}
Some(Ok(None)) => {
debug!("Task cancelled");
trace!("Task cancelled");
}
_ => {}
}
Expand Down

0 comments on commit 8faef44

Please sign in to comment.