- Plesk Onyx for Linux
- Plesk for Linux
Why does logrotation not work in Plesk?
Log rotation condition at Domains > example.com > Websites & Domains > Logs > Manage Log Files > Log Rotation is "By size".
There are some logs with exceeded size limit.
When such situation happens, it does not necessarily mean that log rotation does not work correctly. The log rotation is triggered by the Daily Maintenance script and it may not have run yet.
If the log rotation condition is set to "By size", Plesk rotates logs when their size exceeds particular limit. So if the size of log file exceeds the limit but that log file is not rotated, the Daily Maintenance is not started yet.
Steps to check the script start time can be found here.
In order to make Plesk execute log rotation task more often refer to the this article.
Please sign in to leave a comment.