do not log info about FE log messages.

This commit is contained in:
Miroslav Šedivý 2021-09-09 22:51:24 +02:00
parent fb2c479325
commit d0e283f1a9

View File

@ -245,11 +245,13 @@ func (manager *WebSocketManagerCtx) handle(connection *websocket.Conn, session t
break
}
if data.Event != event.SYSTEM_LOGS {
logger.Debug().
Str("address", connection.RemoteAddr().String()).
Str("event", data.Event).
Str("payload", string(data.Payload)).
Msg("received message from client")
}
handled := manager.handler.Message(session, data)
for _, handler := range manager.handlers {