Skip to content

Commit 016d600

Browse files
author
Sylvain Lebresne
committed
Fix error messages
1 parent 9b9a3ae commit 016d600

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver-core/src/main/java/com/datastax/driver/core/ControlConnection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,10 @@ private void refreshNodeListAndTokenMap(Connection connection) throws Connection
352352
logger.debug("System.peers on node {} has a line for itself. This is not normal but is a known problem of some DSE version. Ignoring the entry.", connection.address);
353353
continue;
354354
} else if (addr == null) {
355-
logger.error("No rpc_address found for host {} in {}'s peers system table. That should not happen but using address {} instead", addr, connection.address, addr);
355+
logger.error("No rpc_address found for host {} in {}'s peers system table. That should not happen but using address {} instead", peer, connection.address, peer);
356356
addr = peer;
357357
} else if (addr.equals(bindAllAddress)) {
358-
logger.warn("Host {} has 0.0.0.0 as rpc_address, using listen_address ({}) to contact it instead. If this is incorrect you should avoid the use of 0.0.0.0 server side.");
358+
logger.warn("Found host with 0.0.0.0 as rpc_address, using listen_address ({}) to contact it instead. If this is incorrect you should avoid the use of 0.0.0.0 server side.", peer);
359359
addr = peer;
360360
}
361361

0 commit comments

Comments
 (0)