diff --git a/src/api/client_server/alias.rs b/src/api/client_server/alias.rs
index 550cb656..045d1174 100644
--- a/src/api/client_server/alias.rs
+++ b/src/api/client_server/alias.rs
@@ -10,7 +10,7 @@ use ruma::{
},
OwnedRoomAliasId, OwnedServerName,
};
-use tracing::{debug, info, warn};
+use tracing::debug;
use crate::{debug_info, debug_warn, services, Error, Result, Ruma};
diff --git a/src/service/rooms/spaces/mod.rs b/src/service/rooms/spaces/mod.rs
index 714da443..25bf3c22 100644
--- a/src/service/rooms/spaces/mod.rs
+++ b/src/service/rooms/spaces/mod.rs
@@ -30,7 +30,7 @@ use ruma::{
OwnedRoomId, OwnedServerName, RoomId, ServerName, UInt, UserId,
};
use tokio::sync::Mutex;
-use tracing::{debug, error, info, warn};
+use tracing::{debug, error, warn};
use crate::{debug_info, services, Error, Result};
diff --git a/src/service/sending/mod.rs b/src/service/sending/mod.rs
index 86676d58..32a7409a 100644
--- a/src/service/sending/mod.rs
+++ b/src/service/sending/mod.rs
@@ -272,7 +272,7 @@ impl Service {
});
}
- #[tracing::instrument(skip(self), name = "sender")]
+ #[tracing::instrument(skip_all, name = "sender")]
async fn handler(&self) -> Result<()> {
let receiver = self.receiver.lock().await;
diff --git a/src/service/sending/send.rs b/src/service/sending/send.rs
index d6bd36d2..9859cc32 100644
--- a/src/service/sending/send.rs
+++ b/src/service/sending/send.rs
@@ -14,9 +14,9 @@ use ruma::{
},
OwnedServerName, ServerName,
};
-use tracing::{debug, error, trace, warn};
+use tracing::{debug, error, trace};
-use crate::{debug_error, debug_warn, services, Error, Result};
+use crate::{debug_error, debug_info, debug_warn, services, Error, Result};
/// Wraps either an literal IP address plus port, or a hostname plus complement
/// (colon-plus-port if it was specified).
@@ -300,6 +300,7 @@ async fn resolve_actual_destination(destination: &'_ ServerName) -> Result<(FedD
Ok((actual_destination, hostname.into_uri_string()))
}
+#[tracing::instrument(skip_all, name = "well-known")]
async fn request_well_known(destination: &str) -> Result