• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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