Skip to content

Commit 259fe6d

Browse files
author
Mark
committed
added logging for protocol header sending
1 parent 8662145 commit 259fe6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/arangodb/internal/velocystream/Connection.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ public synchronized void close() {
127127
}
128128

129129
private void sendProtocolHeader() throws IOException {
130+
if (LOGGER.isDebugEnabled()) {
131+
LOGGER.debug(String.format("Send velocystream protocol header to %s", socket));
132+
}
130133
outputStream.write(PROTOCOL_HEADER);
131134
outputStream.flush();
132135
}

0 commit comments

Comments
 (0)