Enabling Tracing for Message Brokers

If a Message Broker is failing for non-obvious reasons (for example, it isn't running or out of memory), you can turn on tracing by adding the following lines to its <Message Broker install folder>/conf/log4j.properties file:

log4j.rootLogger=DEBUG, console, logfile
By default, the log files are stored under <Message Broker install folder>/data/activemq.log. This can be changed by editing conf/log4j.properties file with the following line:
log4j.appender.logfile.file=${activemq.base}/data/activemq.log

You can find additional information on logging at http://activemq.apache.org/how-do-i-change-the-logging.html