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
|
||||
}
|
||||
|
||||
logger.Debug().
|
||||
Str("address", connection.RemoteAddr().String()).
|
||||
Str("event", data.Event).
|
||||
Str("payload", string(data.Payload)).
|
||||
Msg("received message from client")
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user