private byte[] buildLogMessageBytes(final ShenyuRequestLog log) {
        byte[] bytes = JsonUtils.toJson(log).getBytes(StandardCharsets.UTF_8);
        LZ4CompressData lz4CompressData = new LZ4CompressData(bytes.length, compressedByte(bytes));
        bytes = JsonUtils.toJson(lz4CompressData).getBytes();
        return bytes;
    }
build the log msg bytes.

@param log log
@return log msg bytes
shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-rabbitmq/src/main/java/org/apache/shenyu/plugin/logging/rabbitmq/client/RabbitmqLogCollectClient.java