From f89ced3ded23c25860afd4ceabb52bdccf6c1bf6 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Fri, 18 Jul 2025 14:18:04 +0100 Subject: [PATCH] task(sliding_sync): Avoid logging the entire sliding sync response at the DEBUG level MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Damir Jelić Co-authored-by: Damir Jelić Co-authored-by: Jonas Platte --- crates/matrix-sdk/src/sliding_sync/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/matrix-sdk/src/sliding_sync/mod.rs b/crates/matrix-sdk/src/sliding_sync/mod.rs index ffd85c83c..5cd0511a9 100644 --- a/crates/matrix-sdk/src/sliding_sync/mod.rs +++ b/crates/matrix-sdk/src/sliding_sync/mod.rs @@ -292,7 +292,8 @@ impl SlidingSync { response_processor.process_and_take_response().await? }; - debug!(?sync_response, "Sliding Sync response has been handled by the client"); + debug!("Sliding Sync response has been handled by the client"); + trace!(?sync_response); // Commit sticky parameters, if needed. if let Some(ref txn_id) = sliding_sync_response.txn_id {