Skip to content
Guy M. Allard edited this page Feb 2, 2014 · 1 revision

Consider the following configuration for STOMP logging:

log4j.logger.org.apache.activemq.transport.stomp=TRACE, stomp
#
# log4j.logger.org.apache.activemq.transport.stomp.StompIO=TRACE, stomp
#
log4j.appender.stomp=org.apache.log4j.RollingFileAppender
log4j.appender.stomp.file=${activemq.base}/data/stomp.log
log4j.appender.stomp.maxFileSize=4096KB
log4j.appender.stomp.maxBackupIndex=5
log4j.appender.stomp.append=true
log4j.appender.stomp.layout=org.apache.log4j.PatternLayout
log4j.appender.stomp.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
log4j.additivity.org.apache.activemq.transport.stomp=false
Clone this wiki locally