From 38f6bc983d1a1c7035d34e9db45074c232011b77 Mon Sep 17 00:00:00 2001 From: Wojciech Lukowicz Date: Wed, 13 Mar 2024 10:59:43 +0000 Subject: [PATCH] log ASCII instead of byte array for FIX_MESSAGE_TCP written bytes It's now consistent with the read side and easier to read. For FIXP it's still bytes. --- .../co/real_logic/artio/engine/framer/FixSenderEndPoint.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artio-core/src/main/java/uk/co/real_logic/artio/engine/framer/FixSenderEndPoint.java b/artio-core/src/main/java/uk/co/real_logic/artio/engine/framer/FixSenderEndPoint.java index e3137ee0a9..7dbec5fab2 100644 --- a/artio-core/src/main/java/uk/co/real_logic/artio/engine/framer/FixSenderEndPoint.java +++ b/artio-core/src/main/java/uk/co/real_logic/artio/engine/framer/FixSenderEndPoint.java @@ -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);