Operator: <log-rotation>.

XML Schema: logrotation.xsd

Plesk version: Plesk 12.0 and later

XML API version: 1.6.6.0 and later

Plesk user: Administrator, customer

Description

All connections to a site and errors on the site are registered in site log files. These log files are analyzed by the statistical utilities running on the server. The log-rotation operator is used to manage raw and processed log files. In other words, log-rotation represents Log Rotation service in Plesk.

Supported operations

image 40518

  • SET changes Log Rotation settings.
  • GET retrieves Log Rotation settings.
  • ENABLE enables Log Rotation service on a site
  • DISABLE disables Log Rotation service on a site
  • GET-STATUS retrieves status of Log Rotation service