diff --git a/core/src/main/java/com/datastax/oss/driver/internal/core/control/ControlConnection.java b/core/src/main/java/com/datastax/oss/driver/internal/core/control/ControlConnection.java index 5ee9c6e7810..7e9592c64d3 100644 --- a/core/src/main/java/com/datastax/oss/driver/internal/core/control/ControlConnection.java +++ b/core/src/main/java/com/datastax/oss/driver/internal/core/control/ControlConnection.java @@ -433,7 +433,9 @@ private void connect( // We were reconnecting: make sure previous channel gets closed (it may // still be open if reconnection was forced) LOG.debug( - "[{}] Forcefully closing previous channel {}", logPrefix, channel); + "[{}] Forcefully closing previous channel {}", + logPrefix, + previousChannel); previousChannel.forceClose(); } context.getEventBus().fire(ChannelEvent.channelOpened(node));