Skip to content

Commit

Permalink
Dump only first 16 bytes of messages in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmaury committed Dec 9, 2014
1 parent 244bc25 commit db8d5ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public String toString() {
sb.append("Original message : '");

if (originalMessage instanceof ByteBuffer) {
sb.append(ByteBufferDumper.dump((ByteBuffer) originalMessage));
sb.append(ByteBufferDumper.dump((ByteBuffer) originalMessage, 16, false));
} else {
sb.append(originalMessage);
}
Expand Down

0 comments on commit db8d5ff

Please sign in to comment.