...
Code Block |
---|
yum install logrotate cat >/etc/logrotate.d/pcr360_prod <<LOG /var/www/pcr360/prod/logs/*log { missingok missingok notifempty daily minsize 1M notifempty rotate 14 delaycompress } daily /var/www/pcr360/test/logs/*log { missingok notifempty daily minsize 1M rotate 14 delaycompress } LOG |