chore(ffi): Reduce the log level for some not so useful logs

This commit is contained in:
Stefan Ceriu
2022-11-03 14:26:32 +02:00
committed by GitHub
parent a28a664302
commit af2de2d8ef
2 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ impl Client {
if let Some(session_verification_controller) = &*ctrl.clone().read().await {
session_verification_controller.process_to_device_message(ev).await;
} else {
tracing::warn!(
tracing::debug!(
"received to-device message, but verification controller isn't ready"
);
}

View File

@@ -454,7 +454,7 @@ impl SlidingSync {
views: &[SlidingSyncView],
) -> Result<UpdateSummary, crate::Error> {
let mut processed = self.client.process_sliding_sync(resp.clone()).await?;
tracing::info!("main client processed.");
tracing::debug!("main client processed.");
self.pos.replace(Some(resp.pos));
let mut updated_views = Vec::new();
if resp.lists.len() != views.len() {
@@ -1105,7 +1105,7 @@ impl Client {
response: v4::Response,
) -> Result<SyncResponse> {
let response = self.base_client().process_sliding_sync(response).await?;
tracing::info!("done processing on base_client");
tracing::debug!("done processing on base_client");
self.handle_sync_response(response).await
}
}