Skip to content

Commit 1ff1713

Browse files
author
chengyitian
committed
AJ-747: optimize log info for conn;
1 parent fa9ea54 commit 1ff1713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/xxdb/DBConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ public boolean connect(String hostName, int port, String userId, String password
794794
}
795795

796796
if (attempt == totalConnectAttemptNums) {
797-
log.error("Connect failed after " + attempt + " reconnect attemps for every node in high availability sites.");
797+
log.error("Connect failed after " + tryReconnectNums + " reconnect attemps for every node in high availability sites.");
798798
return false;
799799
}
800800
} else {

0 commit comments

Comments
 (0)