From d4ab1142cba9cc5f61d96954c8c60ef60373521f Mon Sep 17 00:00:00 2001 From: Raja Subramanian Date: Tue, 6 May 2025 09:51:30 +0530 Subject: [PATCH] Redact address (#3643) --- pkg/rtc/room.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/rtc/room.go b/pkg/rtc/room.go index 3335a7bd..602145a9 100644 --- a/pkg/rtc/room.go +++ b/pkg/rtc/room.go @@ -476,7 +476,7 @@ func (r *Room) Join(participant types.LocalParticipant, requestSource routing.Me fields := append( connectionDetailsFields(infos), - "clientInfo", logger.Proto(p.GetClientInfo()), + "clientInfo", logger.Proto(sutils.ClientInfoWithoutAddress(p.GetClientInfo())), ) p.GetLogger().Infow("participant active", fields...) } else if state == livekit.ParticipantInfo_DISCONNECTED { @@ -712,7 +712,7 @@ func (r *Room) RemoveParticipant(identity livekit.ParticipantIdentity, pID livek fields := append( connectionDetailsFields(p.GetICEConnectionInfo()), "reason", reason.String(), - "clientInfo", logger.Proto(p.GetClientInfo()), + "clientInfo", logger.Proto(sutils.ClientInfoWithoutAddress(p.GetClientInfo())), ) p.GetLogger().Infow("removing participant without connection", fields...) }