The Directory Server ships with a built-in Stats Logger that is useful for profiling server performance for a given configuration. At a specified interval, the Stats Logger can write server statistics to a JSON file or to a log file in a comma-separated format (.csv), which can be read by spreadsheet applications. The logger has a negligible impact on server performance unless the log-interval property is set to a very small value (less than 1 second). The statistics logged and their verbosity can be customized.

The Stats Logger can also be used to view historical information about server statistics including replication, LDAP operations, host information, and gauges. Either update the configuration of the existing Stats Logger Plugin to set the advanced gauge-info property to basic/extended to include this information, or create a dedicated Periodic Stats Logger for information about statistics of interest.

For information about how to enable this logging and where to find the log file, see To Enable the Stats Logger.