Configuring Logrotate

Logrotate is a utility that rotates the following log files based on the settings you configure.

You can set your log files to rotate four times a day, once a day, or once a week. You can also change the Logrotate settings at any time.

To configure Logrotate:

  1. Click the Shortcuts tab on the Home page.
  2. In the shortcuts area, click Log Manager (Web Server section). The Logrotate window opens and the Automated Log Rotation Parameters form is displayed.
  3. In the Frequency field, choose the rate at which you want to rotate the log. Frequency options include:
  4. In the Log File Size field, enter the maximum size of the log file (in bytes, kilobytes, or megabytes).  

    Note: When log files reach the specified size, the logs are rotated before the scheduled rotation.

  5. In the Number of Archives field, enter the maximum number of archives you want to retain on the server. You can retain up to 5 archives.

    Important: When the number of log archives exceed the set value, the archive is deleted.

  6. Click Rotate. The log is purged into an archive file, enabling the empty file to receive fresh logs. This process can take up to 10 minutes to complete.