tweak various log levels and messages

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-04-14 03:54:54 -07:00 committed by June
parent 33cc3d56c1
commit 541fa2d2f7
4 changed files with 32 additions and 41 deletions

View file

@ -31,7 +31,7 @@ use ruma::{
use serde::Deserialize;
use serde_json::value::{to_raw_value, RawValue as RawJsonValue};
use tokio::sync::{Mutex, MutexGuard, RwLock};
use tracing::{error, info, warn};
use tracing::{debug, error, info, warn};
use super::state_compressor::CompressedStateEvent;
use crate::{
@ -1156,7 +1156,7 @@ impl Service {
Ok(())
}
#[tracing::instrument(skip(self, pdu))]
#[tracing::instrument(skip(self, pdu, pub_key_map))]
pub async fn backfill_pdu(
&self, origin: &ServerName, pdu: Box<RawJsonValue>,
pub_key_map: &RwLock<BTreeMap<String, BTreeMap<String, Base64>>>,
@ -1241,7 +1241,7 @@ impl Service {
}
drop(mutex_lock);
info!("Prepended backfill pdu");
debug!("Prepended backfill pdu");
Ok(())
}
}