I have set up error logs to rotate here: Main >> Service Configuration >> Apache Configuration >> Log Rotation
When you open this link, this is what cpanel tells us:
This has been the set up since I installed cpanel more than 4 months ago.
Now I go to /usr/local/apache/logs/ and error_log is not being rotated. Its already 579MB.
Is cpanel log rotation in WHM ever works?
When you open this link, this is what cpanel tells us:
I made sure I checked them all, including error logs.Files chosen here will be rotated from /usr/local/apache/logs by cpanellogd. They are compressed and stored in /usr/local/apache/logs/archive/ with a file for each month that the log is rotated at least once. Hence, the file names *do not relate* in any way to the content of the file being rotated. Also, they are only created when the log file grows larger than 300MB (or the cpanel config value of 'rotatelogs_size_threshhold_in_megabytes' when it is set to something greater than 10). That means that there will often be gaps in the date sequence of the names for files. They are left in place indefinitely. Files not chosen here will not be manipulated by cpanellogd.
This has been the set up since I installed cpanel more than 4 months ago.
Now I go to /usr/local/apache/logs/ and error_log is not being rotated. Its already 579MB.
Is cpanel log rotation in WHM ever works?