Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

9.6. Enabling Debug Mode for the Storage Node

  1. On the storage node machine, stop the storage node.
    [root@node ~]# serverRoot/jon-server-3.2.GA/bin/rhqctl.sh stop --storage
  2. Open the storage node's log4j-server.properties file.
    [root@server ~]# vim serverRoot/jon-server-3.2.GA/rhq-storage/conf/log4j-server.properties
  3. Add or edit the lines for the log threshold property (log4j.appender.R.Threshold) and the apache property (log4j.logger.org.apache.cassandra) to enable debug logging.
    log4j.appender.R.Threshold=DEBUG
    log4j.logger.org.apache.cassandra=DEBUG
  4. Restart the storage node.
    [root@node ~]# serverRoot/jon-server-3.2.GA/bin/rhqctl start --storage