Configuring and retrieving log information from metrics storage (kairosdb)

You can use the server configuration file of Rational® Test Control Panel to configure and retrieve log information metrics that are stored by using kairosdb.
  1. Go to the Rational Test Control Panel installation folder and locate the server configuration file. Typically, on Windows computers, the file is in C:\Program Files\IBM\RationalTestControlPanel\config and on non Windows computers, in /opt/IBM/RationalTestControlPanel/config.
  2. Open server.custom.xml in a text editor.
  3. Add the following lines to the file.
    <!--The directory to which the kairosdb server should write logs-->
    <jndiEntry jndiName="kairosdb/logs/dir" value=""${wlp.install.dir}/logs""/>
    <!--To what level of detail the kairosdb server should write its logs (TRACE, DEBUG, INFO, WARN or ERROR)-->
    <jndiEntry jndiName="kairosdb/logs/level" value="&quot;INFO&quot;"/>
The logs are written to C:\Program Files\IBM\RationalTestControlPanel\logs\kairosdb.log, rolling over each day, keeping 30 days history, and logging only INFO statements.

If you want to reproduce an issue with the metrics functionality, change INFO to DEBUG and restart the Rational Test Control Panel server.


Feedback