You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Paul Gale <pa...@gmail.com> on 2013/07/09 16:08:10 UTC

STOMP logging documentation

Hi,

Here http://activemq.apache.org/stomp.html it states that to
enable/disable STOMP tracing you should do the following:

log4j.logger.org.apache.activemq.transport.stomp=TRACE, stomp
# enable this line and disable the above if you just want the frame IO.
#log4j.logger.org.apache.activemq.transport.stomp.StompIO=TRACE, stomp
log4j.additivity.org.apache.activemq.transport.stomp=false

This is not completely correct. It should read:

log4j.logger.org.apache.activemq.transport.stomp=TRACE, stomp
log4j.additivity.org.apache.activemq.transport.stomp=false

# Enable these two lines and disable the above two if you want the
frame IO ONLY (e.g., no heart beat messages, inactivity monitor etc).
#log4j.logger.org.apache.activemq.transport.stomp.StompIO=TRACE, stomp
#log4j.additivity.org.apache.activemq.transport.stomp.StompIO=false

Note the additional 'additivity' clause for StompIO to frame IO from
being sent to the root logger.

Can someone update the doc?

Thanks,
Paul

Re: STOMP logging documentation

Posted by Christian Posta <ch...@gmail.com>.
Thanks Paul, it's been updated. The wiki website takes a bit to propagate
changes out (~2 hrs??)... so be on the lookout for the change


On Tue, Jul 9, 2013 at 10:08 AM, Paul Gale <pa...@gmail.com> wrote:

> Hi,
>
> Here http://activemq.apache.org/stomp.html it states that to
> enable/disable STOMP tracing you should do the following:
>
> log4j.logger.org.apache.activemq.transport.stomp=TRACE, stomp
> # enable this line and disable the above if you just want the frame IO.
> #log4j.logger.org.apache.activemq.transport.stomp.StompIO=TRACE, stomp
> log4j.additivity.org.apache.activemq.transport.stomp=false
>
> This is not completely correct. It should read:
>
> log4j.logger.org.apache.activemq.transport.stomp=TRACE, stomp
> log4j.additivity.org.apache.activemq.transport.stomp=false
>
> # Enable these two lines and disable the above two if you want the
> frame IO ONLY (e.g., no heart beat messages, inactivity monitor etc).
> #log4j.logger.org.apache.activemq.transport.stomp.StompIO=TRACE, stomp
> #log4j.additivity.org.apache.activemq.transport.stomp.StompIO=false
>
> Note the additional 'additivity' clause for StompIO to frame IO from
> being sent to the root logger.
>
> Can someone update the doc?
>
> Thanks,
> Paul
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta