Elffuss BraidHub

kikocis/java-driver public

Downgrade "error creating pool" message to WARN (JAVA-920).
Changeset7b8da13826729d339afc9786351cf8597ed4180da2434f52ab7a11afa0462d17
Authorolim7t <omichallat+github@gmail.com> · 2015-10-28 15:06 +01:00
Committerolim7t <omichallat+github@gmail.com> · 2015-10-28 15:06 +01:00
Parentsf59550660f4e

Browse the files at this changeset

2 files changed

modified changelog/README.md +1 −0
@@ -3,6 +3,7 @@
33 ### 2.0.12 (in progress)
44
55 - [bug] Fix Cluster.connect with a case-sensitive keyspace (JAVA-950)
6+- [improvement] Downgrade "error creating pool" message to WARN (JAVA-920)
67
78
89 ### 2.0.11
modified driver-core/src/main/java/com/datastax/driver/core/SessionManager.java +2 −2
@@ -276,7 +276,7 @@
276276
277277 @Override
278278 public void onFailure(Throwable t) {
279- logger.error("Error creating pool to " + host, t);
279+ logger.warn("Error creating pool to " + host, t);
280280 future.set(false);
281281 }
282282 });
@@ -360,7 +360,7 @@
360360 cluster.manager.logClusterNameMismatch(host, e.expectedClusterName, e.actualClusterName);
361361 cluster.manager.triggerOnDown(host, false);
362362 } else {
363- logger.error("Error creating pool to " + host, t);
363+ logger.warn("Error creating pool to " + host, t);
364364 }
365365 future.set(false);
366366 }