TUN-5597: Log session ID when session is terminated by edge
This commit is contained in:
parent
8445b88d3c
commit
74a3026963
|
@ -198,10 +198,8 @@ func (q *QUICConnection) serveUDPSession(session *datagramsession.Session, close
|
||||||
} else {
|
} else {
|
||||||
q.closeUDPSession(ctx, session.ID, "terminated without error")
|
q.closeUDPSession(ctx, session.ID, "terminated without error")
|
||||||
}
|
}
|
||||||
q.logger.Debug().Err(err).Str("sessionID", session.ID.String()).Msg("session terminated")
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
q.logger.Debug().Err(err).Msg("Session terminated by edge")
|
q.logger.Debug().Err(err).Str("sessionID", session.ID.String()).Msg("Session terminated")
|
||||||
}
|
}
|
||||||
|
|
||||||
// closeUDPSession first unregisters the session from session manager, then it tries to unregister from edge
|
// closeUDPSession first unregisters the session from session manager, then it tries to unregister from edge
|
||||||
|
|
Loading…
Reference in New Issue