We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4276127 commit 49048a6Copy full SHA for 49048a6
src/main/com/mongodb/ReplicaSetStatus.java
@@ -132,6 +132,7 @@ private void updateAddr() {
132
// address changed, need to use new ports
133
_port = new DBPort(_addr, null, _mongoOptions);
134
_mongo.getConnector().updatePortPool(_addr);
135
+ _logger.log(Level.INFO, "Address of host " + _addr.toString() + " changed to " + _addr.getSocketAddress().toString());
136
}
137
} catch (UnknownHostException ex) {
138
_logger.log(Level.WARNING, null, ex);
0 commit comments