Skip to content

Commit 10173b9

Browse files
committed
fix(sdk): Degrade some logs that show user ids to the debug log level
1 parent fc74526 commit 10173b9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

crates/matrix-sdk-base/src/rooms/normal.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use ruma::{
3737
EventId, MxcUri, RoomAliasId, RoomId, UserId,
3838
};
3939
use serde::{Deserialize, Serialize};
40-
use tracing::info;
40+
use tracing::debug;
4141

4242
use super::{BaseRoomInfo, RoomMember};
4343
use crate::{
@@ -359,12 +359,12 @@ impl Room {
359359
members?
360360
};
361361

362-
info!(
363-
"Calculating name for {}, own user {} hero count {} heroes {:#?}",
364-
self.room_id(),
365-
self.own_user_id,
366-
heroes_count,
367-
summary.heroes
362+
debug!(
363+
room_id = self.room_id().as_str(),
364+
own_user = self.own_user_id.as_str(),
365+
heroes_count = heroes_count,
366+
heroes =? summary.heroes,
367+
"Calculating name for a room",
368368
);
369369

370370
let inner = self.inner.read().unwrap();

crates/matrix-sdk-crypto/src/identities/manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl IdentityManager {
7474
&self,
7575
response: &KeysQueryResponse,
7676
) -> OlmResult<(DeviceChanges, IdentityChanges)> {
77-
info!(
77+
debug!(
7878
users =? response.device_keys.keys().collect::<BTreeSet<&UserId>>(),
7979
failures =? response.failures,
8080
"Handling a keys query response"

0 commit comments

Comments
 (0)