activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Gale <paul.n.g...@gmail.com>
Subject STOMP logging documentation
Date Tue, 09 Jul 2013 14:08:10 GMT
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

Mime
View raw message