• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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