• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Log Rotation issue

M

matija

Guest
I have enabled "Log Rotation" on all accounts and set to rotate monthly, max num. of 60 and enabled compression. Also, emailing of processed logs is checked.
Statistics.exe is run every day.

Now, the problem, on some sites I get multiple compressed log files troughout month (ie. ex0602.log.zip, ex0602.log_1.zip, ex0602.log_2.zip, ex0602.log_3.zip, ...) while on other sites that have more traffic I get only one compressed file (ie. ex0602.log.zip).

Can someone explain why does this happen?
 
Probably reason is Log rotation condition by size.
Why size have this files ?
 
Log rotation condition is set "by time: monthly", not by size... anyway, larger logs (~100MB) are compressed only once by the end of the month, and smaller logs (~10KB) are compressed few times a month which confuses me...
 
Back
Top