diff --git a/templates/etc-logrotate-php b/templates/etc-logrotate-php index 3f375909df69fa07da1b0262e69c6c81e4990fe4..79afb37de0d94926e01c0f52bd4b436c37cc9e69 100644 --- a/templates/etc-logrotate-php +++ b/templates/etc-logrotate-php @@ -1,12 +1,12 @@ /var/log/php{{ phpLogRotatePrefix }}-fpm.log { - rotate 12 - weekly - missingok - notifempty - create 644 root root - compress - delaycompress - postrotate - /usr/lib{{ phpLibPrefix }}/php/php{{ phpLogRotatePrefix }}-fpm-reopenlogs - endscript + daily + rotate 7 + missingok + notifempty + create 644 root root + compress + delaycompress + postrotate + /usr/lib{{ phpLibPrefix }}/php/php{{ phpLogRotatePrefix }}-fpm-reopenlogs + endscript }