additional info level span adjustments

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-01-26 04:46:10 +00:00
parent af399fd517
commit 329925c661
7 changed files with 24 additions and 13 deletions

View file

@ -3,7 +3,9 @@ use std::{collections::BTreeMap, net::IpAddr, time::Instant};
use axum::extract::State;
use axum_client_ip::InsecureClientIp;
use conduwuit::{
debug, debug_warn, err, error,
debug,
debug::INFO_SPAN_LEVEL,
debug_warn, err, error,
result::LogErr,
trace,
utils::{
@ -49,8 +51,8 @@ type Pdu = (OwnedRoomId, OwnedEventId, CanonicalJsonObject);
///
/// Push EDUs and PDUs to this server.
#[tracing::instrument(
name = "send",
level = "debug",
name = "txn",
level = INFO_SPAN_LEVEL,
skip_all,
fields(
%client,