Skip to content

Commit eacf91d

Browse files
daniloarodriguesDanilo Rodrigues
andauthored
Remove System.out.println. (#316)
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 buildAsync method Result: No improper messages are displayed in the log, and there is no more overload. Co-authored-by: Danilo Rodrigues <[email protected]>
1 parent a54acb3 commit eacf91d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/main/java/com/datastax/oss/driver/api/core/session/SessionBuilder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,6 @@ public SelfT withMetricRegistry(@Nullable Object metricRegistry) {
822822
*/
823823
@NonNull
824824
public CompletionStage<SessionT> buildAsync() {
825-
System.out.println("Using Scylla optimized driver!!!");
826825
LOG.info("Using Scylla optimized driver!!!");
827826
CompletionStage<CqlSession> buildStage = buildDefaultSessionAsync();
828827
CompletionStage<SessionT> wrapStage = buildStage.thenApply(this::wrap);

0 commit comments

Comments
 (0)