Change a log level for messages from ClientMessageProvider
@@ -58,7 +58,7 @@ class ClientMessageProvider:
def prepare_error_msg(ex):
err_str = '{}{} got error {} while sending through listener to {}' \
.format(CONNECTION_PREFIX, self, ex, ident)
- logger.warning(err_str)
+ logger.debug(err_str)
return err_str
need_to_resend = False
@@ -72,7 +72,7 @@ class ClientMessageProvider:
self.listener.send_multipart([ident, msg], flags=zmq.NOBLOCK)
except InvalidMessageExceedingSizeException as ex:
err_str = '{}Cannot transmit message. Error {}'.format(CONNECTION_PREFIX, ex)
- logger.warning(err_str)
+ logger.debug(err_str)
return False, err_str, need_to_resend
except zmq.Again as ex:
need_to_resend = True
