Skip to content

Commit a548e7f

Browse files
committed
modify log level when do reconnect
1 parent 16a16b9 commit a548e7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/alipay/oceanbase/rpc/bolt/transport/ObTableConnection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public void reConnectAndLogin(String msg) throws ObTableException {
257257
try {
258258
// 1. check the connection is available, force to close it
259259
if (checkAvailable()) {
260-
LOGGER.warn("The connection would be closed and reconnected is: "
260+
LOGGER.info("The connection would be closed and reconnected is: "
261261
+ connection.getUrl());
262262
close();
263263
}
@@ -286,7 +286,7 @@ private void reconnect(String msg) throws Exception {
286286
if (isReConnecting.compareAndSet(false, true)) {
287287
try {
288288
if (connect()) {
289-
LOGGER.warn("reconnect success. reconnect reason: [{}]", msg);
289+
LOGGER.info("reconnect success. reconnect reason: [{}]", msg);
290290
} else {
291291
LOGGER.info(
292292
"connection maybe reconnect by other thread. reconnect reason: [{}]", msg);

0 commit comments

Comments
 (0)