Skip to content

Commit

Permalink
log ASCII instead of byte array for FIX_MESSAGE_TCP written bytes
Browse files Browse the repository at this point in the history
It's now consistent with the read side and easier to read.
For FIXP it's still bytes.
  • Loading branch information
wojciech-adaptive committed Mar 13, 2024
1 parent 20b69f1 commit 38f6bc9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,7 @@ private int writeBuffer(
ByteBufferUtil.position(buffer, writePosition);

final int written = channel.write(buffer, seqNum, replay);
ByteBufferUtil.position(buffer, bufferOffset);
DebugLogger.logBytes(FIX_MESSAGE_TCP, "Written ", buffer, writePosition, written);
DebugLogger.log(FIX_MESSAGE_TCP, "Written ", directBuffer, offset + reattemptBytesWritten, written);

buffer.limit(startLimit).position(startPosition);

Expand Down

0 comments on commit 38f6bc9

Please sign in to comment.