Configuring Logrotate
Logrotate is a utility that rotates the following log files based on the settings you choose.
Web server logs
FTP server logs
Majordomo logs
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:
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.
In the Frequency field, choose the rate at which you want to rotate the log. Frequency options include:
4 times daily. The log file will be rotated every 6 hours.
Daily. The log file will be rotated once every day.
Weekly. The log file will be rotated once a week.
Note: This schedule is kept only if the log file has not reached the size specified in the Log File Size field.
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.
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.
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.