How To
ForgeRock Identity Platform
Does not apply to Identity Cloud

How do I stop stats logging in AM (All versions)?

Last updated Apr 13, 2021

The purpose of this article is to provide information on stopping stats logging in AM. Stats logs are located in the /path/to/openam/var/stats directory (AM 7 and later) or the /path/to/openAM/stats directory (Pre-AM 7) 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 console or ssoadm:

  • Console: 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:

  • Console: 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


Copyright and Trademarks Copyright © 2021 ForgeRock, all rights reserved.