• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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