Skip to content

Commit f89ced3

Browse files
andybalaampoljarjplatte
authored
task(sliding_sync): Avoid logging the entire sliding sync response at the DEBUG level
Signed-off-by: Damir Jelić <[email protected]> Co-authored-by: Damir Jelić <[email protected]> Co-authored-by: Jonas Platte <[email protected]>
1 parent a5fbcf1 commit f89ced3

File tree

1 file changed

+2
-1
lines changed
  • crates/matrix-sdk/src/sliding_sync

1 file changed

+2
-1
lines changed

crates/matrix-sdk/src/sliding_sync/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ impl SlidingSync {
292292
response_processor.process_and_take_response().await?
293293
};
294294

295-
debug!(?sync_response, "Sliding Sync response has been handled by the client");
295+
debug!("Sliding Sync response has been handled by the client");
296+
trace!(?sync_response);
296297

297298
// Commit sticky parameters, if needed.
298299
if let Some(ref txn_id) = sliding_sync_response.txn_id {

0 commit comments

Comments
 (0)