Enabling statistics for a single component
In a server configuration file, you can enable gathering of statistics
by using the stats and logcfg entries.
These entries are in the [aznapi-configuration] stanza.
In the following example:
- The
statsstanza entry enables gathering of statistics for thepdweb.jmtcomponent. The frequency is 20 seconds. - The
logcfgstanza entry specifies the destination for the statistics report as thejmt.logfile. The entry contains more configuration information for therollover_sizeandflushconfiguration settings:
[aznapi-configuration]
stats = pdweb.jmt 20
logcfg = stats.pdweb.jmt:file path=jmt.log,rollover_size=-1,flush=20For detailed information about configuration files, see the Administering topics in the Knowledge Center.