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.
- 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.
- Open server.custom.xml in a text editor.
- 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=""INFO""/>
If you want to reproduce an issue with the metrics functionality, change INFO to DEBUG and restart the Rational Test Control Panel server.