Enable statistics for a single component

In a server configuration file, we can enable gathering of statistics using the stats and logcfg entries. These entries are in the [aznapi-configuration] stanza. In the following example:

[aznapi-configuration]
stats = pdweb.jmt 20
logcfg = stats.pdweb.jmt:file path=jmt.log,rollover_size=-1,flush=20

For detailed information about configuration files, see the Administering topics in the Knowledge Center.

Parent topic: Use stanza entries for statistics