• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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