Skip to content

Commit 0f24a9c

Browse files
daniloarodriguesDanilo Rodrigues
andauthored
Remove System.out.println. (#315)
Motivation: Applications are improperly printing messages to the log, causing overload in certain situations. There is no need for a println since the log is already being managed by slf4j. Modifications: Remove println from Cluster Class Result: No improper messages are displayed in the log, and there is no more overload. Co-authored-by: Danilo Rodrigues <[email protected]>
1 parent f27856b commit 0f24a9c

File tree

1 file changed

+0
-1
lines changed
  • driver-core/src/main/java/com/datastax/driver/core

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ private Cluster(
191191
List<EndPoint> contactPoints,
192192
Configuration configuration,
193193
Collection<Host.StateListener> listeners) {
194-
System.out.println("===== Using optimized driver!!! =====");
195194
logger.info("===== Using optimized driver!!! =====");
196195
this.manager = new Manager(name, contactPoints, configuration, listeners);
197196
}

0 commit comments

Comments
 (0)