A few more log tweaks (#1159)

This commit is contained in:
Raja Subramanian
2022-11-11 13:44:14 +05:30
committed by GitHub
parent fe0502c886
commit 379301c0bc
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ func (d *DynacastManager) update(force bool) {
}
if downgradesOnly {
d.params.Logger.Infow("debouncing quality downgrade",
d.params.Logger.Debugw("debouncing quality downgrade",
"committedMaxSubscribedQuality", d.committedMaxSubscribedQuality,
"maxSubscribedQuality", d.maxSubscribedQuality,
)
+1 -1
View File
@@ -535,12 +535,12 @@ func (p *ParticipantImpl) Start() {
}
func (p *ParticipantImpl) Close(sendLeave bool, reason types.ParticipantCloseReason) error {
p.params.Logger.Infow("participant closing", "sendLeave", sendLeave, "reason", reason.String())
if p.isClosed.Swap(true) {
// already closed
return nil
}
p.params.Logger.Infow("participant closing", "sendLeave", sendLeave, "reason", reason.String())
p.clearDisconnectTimer()
p.clearMigrationTimer()