* fix blocker problem * use error level to log exception
@@ -301,7 +301,7 @@ public class NettyRemotingClient {
return channel;
}
} catch (Exception ex) {
- logger.info("connect to {} error {}", address, ex);
+ logger.error("connect to {} error", address, ex);
return null;
@@ -117,7 +117,7 @@ public class NettyServerHandler extends ChannelInboundHandlerAdapter {
try {
pair.getLeft().process(channel, msg);
} catch (Throwable ex) {
- logger.error("process msg {} error : {}", msg, ex);
+ logger.error("process msg {} error", msg, ex);
};