Demote more logs to debug (#1998)

This commit is contained in:
David Zhao
2023-08-27 19:17:38 -07:00
committed by GitHub
parent 73b87f04df
commit eed8e85008
6 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ func (s *RTCService) ServeHTTP(w http.ResponseWriter, r *http.Request) {
websocket.CloseNormalClosure,
websocket.CloseNoStatusReceived,
) {
pLogger.Infow("exit ws read loop for closed connection", "connID", cr.ConnectionID, "wsError", err)
pLogger.Debugw("exit ws read loop for closed connection", "connID", cr.ConnectionID, "wsError", err)
} else {
pLogger.Errorw("error reading from websocket", err, "connID", cr.ConnectionID)
}