added logLevel to cmdline, moved pesky info lines to debug

This commit is contained in:
amit b
2018-10-19 07:55:16 +03:00
parent 931b08376b
commit e03c85f7ab
8 changed files with 36 additions and 7 deletions

View File

@@ -506,7 +506,7 @@ func (c *ClientConn) mainLoop() {
// Unsupported message type! Bad!
break
}
logger.Infof("ClientConn.MainLoop: got ServerMessage:%s", common.ServerMessageType(messageType))
logger.Debugf("ClientConn.MainLoop: got ServerMessage:%s", common.ServerMessageType(messageType))
reader.SendMessageStart(common.ServerMessageType(messageType))
reader.PublishBytes([]byte{byte(messageType)})