I work with logrotate on Centos 6.4 and would like to rotate logs daily or reach 50 MB.
The only problem I am facing is that the version of logrotate for CentOS is 3.7.8, which does not have the maxsize option that I have to use.
Is there a workaround for this? The options in this logrotate 3.7.8 are not enough unless I create a cron that runs every minute to check file sizes ...
Thanks in advance.
source
share