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
|
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.clearDisconnectTimer()
|
||||||
p.clearMigrationTimer()
|
p.clearMigrationTimer()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user