---
title: Logging rotation policies
description: There are different logging rotation configurations available for PingDataMetrics server error logging.
component: pingdirectory
version: 9.3
page_id: pingdirectory:pingdatametrics_server_administration_guide:pd_met_log_rotation_policies
canonical_url: https://docs.pingidentity.com/pingdirectory/9.3/pingdatametrics_server_administration_guide/pd_met_log_rotation_policies.html
revdate: September 13, 2023
---

# Logging rotation policies

There are different logging rotation configurations available for PingDataMetrics server error logging.

Select rotation configuration from the following:

* File count retention policy

  Sets the number of log files for the PingDataMetrics server to retain. The default file count is 10 logs. If the file count is set to 1, then the log will continue to grow indefinitely without being rotated.

* Free disk space retention policy

  Sets the minimum amount of free disk space. The default free disk space is 500MB.

* Size limit retention policy

  Sets the maximum size of the combined archived logs. The default size limit is 500MB.

* Custom retention policy

  Create a new retention policy. This requires developing custom code to implement the log retention policy.

* Never delete retention policy

  Used in a rare event that does not require log deletion.
