ActiveMQ日志中的消息全文

问题描述 投票:1回答:1

我记录在日志中:

INFO | jvm 1 | 2014/11/10 18:57:49 | INFO | Sending message: ActiveMQTextMessage {commandId = 5, responseRequired = false, messageId = ID:kataev-pc-44816-1415376508242-3:7:1:1:1, producerId = ID:kataev-pc-44816-1415376508242-3:7:1:1, destination = queue://foo.bar, ... , text = Enter some text here for the message body...E...sage body...}

如何在发送备注的日志中更改消息文本字段的大小?我在log4j属性,activemq属性中搜索它,没有结果。

谢谢!

log4j activemq
1个回答
0
投票

不幸的是,ActiveMQTextMessage的toString方法正在截断消息文本。 我找不到覆盖这个的方法。

© www.soinside.com 2019 - 2024. All rights reserved.