Github user tabish121 commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/1592#discussion_r145438163 --- Diff: artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/MQTTUtil.java --- @@ -67,6 +76,8 @@ public static final int DEFAULT_KEEP_ALIVE_FREQUENCY = 5000; + public static final String logUTF8PublishPayload = System.getProperty("org.apache.activemq.artemis.core.protocol.mqtt.logUTF8PublishPayload"); --- End diff -- We do that in 5.x for things like logs on STOMP messages where you don't want to dump the full content portion of the frame but a small bit can help, I can't recall what the default is but something like 60 chars or the like is used. You end up with a content string of "ABCD....ZYZ"
---