Redact address (#3643)

This commit is contained in:
Raja Subramanian
2025-05-06 09:51:30 +05:30
committed by GitHub
parent b83190a379
commit d4ab1142cb
+2 -2
View File
@@ -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...)
}