Configuring Logrotate

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

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. In the shortcuts section of the Home page, click Log Manager (Web Server section). The Logrotate window opens and the Automated Log Rotation Parameters form is displayed.

  2. In the Frequency field, choose the rate at which you want to rotate the log. Frequency options include:

  1. In the Log File Size field, enter the maximum size of the log file (in bytes, kilobytes, or megabytes).  

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

  1. 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.

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

  1. Click Rotate Logs. 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.

Related Topics