mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
do not log info about FE log messages.
This commit is contained in:
parent
fb2c479325
commit
d0e283f1a9
@ -245,11 +245,13 @@ func (manager *WebSocketManagerCtx) handle(connection *websocket.Conn, session t
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.Debug().
|
if data.Event != event.SYSTEM_LOGS {
|
||||||
Str("address", connection.RemoteAddr().String()).
|
logger.Debug().
|
||||||
Str("event", data.Event).
|
Str("address", connection.RemoteAddr().String()).
|
||||||
Str("payload", string(data.Payload)).
|
Str("event", data.Event).
|
||||||
Msg("received message from client")
|
Str("payload", string(data.Payload)).
|
||||||
|
Msg("received message from client")
|
||||||
|
}
|
||||||
|
|
||||||
handled := manager.handler.Message(session, data)
|
handled := manager.handler.Message(session, data)
|
||||||
for _, handler := range manager.handlers {
|
for _, handler := range manager.handlers {
|
||||||
|
Loading…
Reference in New Issue
Block a user