How do I stop stats logging in AM (All versions)?
The purpose of this article is to provide information on stopping stats logging in AM. Stats logs are located in the /path/to/am/var/stats directory (AM 7 and later) or the /path/to/am/stats directory (AM 6.x) by default.
1 reader recommends this article
Stopping stats logging
You may want to consider clearing stats logs rather than stopping logging altogether as described in How do I clear stats logs in AM (All versions)?
You can stop stats logging using either the AM admin UI or ssoadm:
- AM admin UI: navigate to: Configure > Server Defaults > Session > Statistics > State and select the Off option.
- ssoadm: enter the following command: $ ./ssoadm update-server-cfg -u [adminID] -f [passwordfile] -s default -a com.iplanet.services.stats.state=offreplacing [adminID] and [passwordfile] with appropriate values.
To re-enable stats logging, perform the same steps as above and select the File option:
- AM admin UI: navigate to: Configure > Server Defaults > Session > Statistics > State and select the File option.
- ssoadm: enter the following command: $ ./ssoadm update-server-cfg -u [adminID] -f [passwordfile] -s default -a com.iplanet.services.stats.state=filereplacing [adminID] and [passwordfile] with appropriate values.
Note
You must restart the web application container in which AM runs to apply these configuration changes.
See Also
How do I monitor session statistics in AM (All versions)?
How do I clear stats logs in AM (All versions)?
Related Training
N/A
Related Issue Tracker IDs
N/A