Review error logging (#10897)
This change lowers the levels of a few log messages in an attempt to bring them more in line with the severity of the actual message.
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
f8a89a52fc
Коммит
8c048a6604
@@ -200,9 +200,9 @@ func (c *WebConn) writePump() {
|
||||
|
||||
if len(c.Send) >= SEND_DEADLOCK_WARN {
|
||||
if evtOk {
|
||||
mlog.Error(fmt.Sprintf("websocket.full: message userId=%v type=%v channelId=%v size=%v", c.UserId, msg.EventType(), evt.Broadcast.ChannelId, len(msg.ToJson())))
|
||||
mlog.Warn(fmt.Sprintf("websocket.full: message userId=%v type=%v channelId=%v size=%v", c.UserId, msg.EventType(), evt.Broadcast.ChannelId, len(msg.ToJson())))
|
||||
} else {
|
||||
mlog.Error(fmt.Sprintf("websocket.full: message userId=%v type=%v size=%v", c.UserId, msg.EventType(), len(msg.ToJson())))
|
||||
mlog.Warn(fmt.Sprintf("websocket.full: message userId=%v type=%v size=%v", c.UserId, msg.EventType(), len(msg.ToJson())))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user