mirror of
https://github.com/livekit/livekit.git
synced 2026-05-10 19:17:07 +00:00
Log ClientInfo on participant close. (#2057)
Want to check client distribution for negotiation failed induced closes.
This commit is contained in:
@@ -717,7 +717,13 @@ func (p *ParticipantImpl) Close(sendLeave bool, reason types.ParticipantCloseRea
|
||||
return nil
|
||||
}
|
||||
|
||||
p.params.Logger.Infow("participant closing", "sendLeave", sendLeave, "reason", reason.String(), "isExpectedToResume", isExpectedToResume)
|
||||
p.params.Logger.Infow(
|
||||
"participant closing",
|
||||
"sendLeave", sendLeave,
|
||||
"reason", reason.String(),
|
||||
"isExpectedToResume", isExpectedToResume,
|
||||
"clientInfo", p.params.ClientInfo.String(),
|
||||
)
|
||||
p.clearDisconnectTimer()
|
||||
p.clearMigrationTimer()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user