Skip to content

Commit 29a9961

Browse files
author
Taeyang Jin (Heli)
authored
Change "Opened connection..." log message from INFO to DEBUG (#999)
JAVA-4719
1 parent 5bf87c6 commit 29a9961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver-core/src/main/com/mongodb/internal/connection/InternalStreamConnection.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ private void initAfterHandshakeFinish(final InternalConnectionInitializationDesc
250250
initialServerDescription = initializationDescription.getServerDescription();
251251
opened.set(true);
252252
sendCompressor = findSendCompressor(description);
253-
if (LOGGER.isInfoEnabled()) {
254-
LOGGER.info(format("Opened connection [%s] to %s", getId(), serverId.getAddress()));
253+
if (LOGGER.isDebugEnabled()) {
254+
LOGGER.debug(format("Opened connection [%s] to %s", getId(), serverId.getAddress()));
255255
}
256256
}
257257

0 commit comments

Comments
 (0)