diff --git a/src/main/java/com/alipay/oceanbase/rpc/bolt/transport/ObTableConnection.java b/src/main/java/com/alipay/oceanbase/rpc/bolt/transport/ObTableConnection.java index 845ac698..21e3bd2d 100644 --- a/src/main/java/com/alipay/oceanbase/rpc/bolt/transport/ObTableConnection.java +++ b/src/main/java/com/alipay/oceanbase/rpc/bolt/transport/ObTableConnection.java @@ -257,7 +257,7 @@ public void reConnectAndLogin(String msg) throws ObTableException { try { // 1. check the connection is available, force to close it if (checkAvailable()) { - LOGGER.warn("The connection would be closed and reconnected is: " + LOGGER.info("The connection would be closed and reconnected is: " + connection.getUrl()); close(); } @@ -286,7 +286,7 @@ private void reconnect(String msg) throws Exception { if (isReConnecting.compareAndSet(false, true)) { try { if (connect()) { - LOGGER.warn("reconnect success. reconnect reason: [{}]", msg); + LOGGER.info("reconnect success. reconnect reason: [{}]", msg); } else { LOGGER.info( "connection maybe reconnect by other thread. reconnect reason: [{}]", msg);