fix(logs): убрать пострим-шум из лога без debug
TURN urls, персона, попытки кредов и DTLS connect/close - на debug: на 8 стримах это десятки строк на старте.
This commit is contained in:
1 parent
aed2839c7d
commit
c2a9f0f1d7
4 files changed
+8
-8
No files matched your search
@@ -160,9 +160,9 @@ func dtlsSession(dtlsctx context.Context, dtlscancel context.CancelFunc, deps *D
|
||||
var dtlsConn net.Conn = dtlsRaw
|
||||
defer func() {
|
||||
_ = dtlsConn.Close()
|
||||
deps.log().Infof("[STREAM %d] Closed DTLS connection", streamID)
|
||||
deps.log().Debugf("[STREAM %d] Closed DTLS connection", streamID)
|
||||
}()
|
||||
deps.log().Infof("[STREAM %d] Established DTLS connection", streamID)
|
||||
deps.log().Debugf("[STREAM %d] Established DTLS connection", streamID)
|
||||
|
||||
if err := clientsdb.WriteClientID(dtlsConn, params.ClientID); err != nil {
|
||||
return fmt.Errorf("failed to write client ID: %w", err)
|
||||
|
||||
Reference in new issue
Block a user