mirror of
https://github.com/mattermost/mattermost.git
synced 2026-08-26 21:27:40 -05:00
[MM-63693] Don't log PING websocket events (#30669)
This commit is contained in:
@@ -23,7 +23,10 @@ type webSocketHandler struct {
|
||||
}
|
||||
|
||||
func (wh webSocketHandler) ServeWebSocket(conn *platform.WebConn, r *model.WebSocketRequest) {
|
||||
mlog.Debug("Websocket request", mlog.String("action", r.Action))
|
||||
// Don't log ping requests to reduce log noise
|
||||
if r.Action != "ping" {
|
||||
mlog.Debug("Websocket request", mlog.String("action", r.Action))
|
||||
}
|
||||
|
||||
hub := wh.app.Srv().Platform().GetHubForUserId(conn.UserId)
|
||||
if hub == nil {
|
||||
|
||||
Reference in New Issue
Block a user