Elffuss BraidHub

kikocis/java-driver public

Fix error messages
Changeset3432398b0ad279fdfc62a2e9b938f40d98d79676c6fc9c6ea837863bb0096209
AuthorSylvain Lebresne <sylvain@datastax.com> · 2014-01-14 15:44 +01:00
CommitterSylvain Lebresne <sylvain@datastax.com> · 2014-01-14 15:44 +01:00
Parentsea5fa6201d34

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/ControlConnection.java +2 −2
@@ -352,10 +352,10 @@
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