activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Green <james.mk.gr...@gmail.com>
Subject AMQ 5.7.0: Stomp trace does not log frames
Date Fri, 26 Oct 2012 15:34:31 GMT
log4j.properties:

log4j.rootLogger=INFO, console, logfile
log4j.logger.org.apache.activemq.spring=WARN
log4j.logger.org.apache.activemq.web.handler=WARN
log4j.logger.org.springframework=WARN
log4j.logger.org.apache.xbean=WARN
log4j.logger.org.apache.camel=ERROR
log4j.logger.org.apache.activemq.transport.stomp=TRACE, stomp

# Or for more fine grained debug logging uncomment one of these
log4j.logger.org.apache.activemq=DEBUG
#log4j.logger.org.apache.camel=DEBUG

# Console appender
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%5p | %m%n
log4j.appender.console.threshold=INFO

# File appender
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.file=${activemq.base}/data/activemq.log
log4j.appender.logfile.maxFileSize=1024KB
log4j.appender.logfile.maxBackupIndex=5
log4j.appender.logfile.append=true
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d | %-5p | %m | %c | %t%n

#log4j.appender.kahadb=org.apache.log4j.RollingFileAppender
#log4j.appender.kahadb.file=${activemq.base}/data/kahadb.log
#log4j.appender.kahadb.maxFileSize=1024KB
#log4j.appender.kahadb.maxBackupIndex=5
#log4j.appender.kahadb.append=true
#log4j.appender.kahadb.layout=org.apache.log4j.PatternLayout
#log4j.appender.kahadb.layout.ConversionPattern=%d [%-15.15t] %-5p
%-30.30c{1} - %m%n
#log4j.logger.org.apache.activemq.store.kahadb.MessageDatabase=TRACE, kahadb

log4j.appender.stomp=org.apache.log4j.RollingFileAppender
log4j.appender.stomp.file=${activemq.base}/data/stomp.log
log4j.appender.stomp.maxFileSize=1024KB
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

# 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


TransportConnector:
<transportConnector name="stomp" uri="stomp://localhost:61612?trace=true"/>

The stomp.log holds only:
2012-10-26 16:22:41,443 [0.1:57638@61612] DEBUG
StompInactivityMonitor         - Stomp Inactivity Monitor read check: 0,
write check: 0
2012-10-26 16:22:41,443 [0.1:57638@61612] DEBUG
ProtocolConverter              - Stomp Connect heartbeat conf RW[0,0]
2012-10-26 16:22:52,812 [0.1:57640@61612] DEBUG
StompInactivityMonitor         - Stomp Inactivity Monitor read check: 0,
write check: 0
2012-10-26 16:22:52,812 [0.1:57640@61612] DEBUG
ProtocolConverter              - Stomp Connect heartbeat conf RW[0,0]
2012-10-26 16:22:52,842 [0.1:57641@61612] DEBUG
StompInactivityMonitor         - Stomp Inactivity Monitor read check: 0,
write check: 0
2012-10-26 16:22:52,842 [0.1:57641@61612] DEBUG
ProtocolConverter              - Stomp Connect heartbeat conf RW[0,0]
2012-10-26 16:23:04,054 [0.1:57643@61612] DEBUG
StompInactivityMonitor         - Stomp Inactivity Monitor read check: 0,
write check: 0
2012-10-26 16:23:04,054 [0.1:57643@61612] DEBUG
ProtocolConverter              - Stomp Connect heartbeat conf RW[0,0]
2012-10-26 16:23:15,386 [0.1:57645@61612] DEBUG
StompInactivityMonitor         - Stomp Inactivity Monitor read check: 0,
write check: 0
2012-10-26 16:23:15,386 [0.1:57645@61612] DEBUG
ProtocolConverter              - Stomp Connect heartbeat conf RW[0,0]

Where are the frames?

I need to understand why a consumer is being starved of messages after a
while.

Thanks,

James

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message