Plesk can enforce daily log rotation and a shared retention period across domains and service plans. This guide explains how a server administrator can enable that policy.

Before you start

Agree the retention period needed for troubleshooting and any applicable business requirements. Preserve logs required for an ongoing investigation before reducing retention.

Enable forced rotation

  1. Log in to Plesk as an administrator.
  2. Open Tools & Settings > Server Settings.
  3. Find Force daily log rotation for all domains and select it.
  4. Enter the required number of days to retain logs.
  5. Click OK or Apply, as displayed, to save the settings.
  6. After the next rotation, check the affected logs and confirm that the retention policy is being applied.

Force daily log rotation for all domains

The exact logs affected depend on the operating system and Plesk version. This setting is separate from creating extra scheduled rotation jobs or anonymising IP addresses, and does not by itself establish compliance with a legal standard.