Enabling statistics for multiple components
Unlike the stats on command, you enable gathering
of statistics for multiple components by using multiple stats and logcfg entries
in the [aznapi-configuration] stanza. The stanza
is in the server configuration file.
In the following example, statistics gathering is enabled for the
following WebSEAL components:
- pdweb.authn
- For the
pdweb.authncomponent:- The frequency is set to 40 seconds.
- The destination for the statistics report is the
an.logfile.
rollover_sizeandflushconfiguration settings. - pdweb.jct.1
- For the
pdweb.jct.1component:- The frequency is set to 50 seconds,
- The destination for the statistics report is the
jct.logfile.
rollover_sizeandflushconfiguration settings. - pdweb.jmt
- For the
pdweb.jmtcomponent:- The frequency is set to 20 seconds.
- The destination for the statistics report is the
jmtA.logand thejmtB.logfiles.
rollover_sizeandflushconfiguration settings.
[aznapi-configuration]
stats = pdweb.jmt 20
stats = pdweb.authn 40
stats = pdweb.jct.1 50
logcfg = stats.pdweb.jmt:file path=jmtA.log,rollover_size=-1,flush=20
logcfg = stats.pdweb.jmt:file path=jmtB.log,rollover_size=-1,flush=20
logcfg = stats.pdweb.authn:file path=an.log,rollover_size=-1,flush=20
logcfg = stats.pdweb.jct.1:file path=jct.log,rollover_size=-1,flush=20For detailed information about configuration files, see the Administering topics in the Knowledge Center.