My logs are being rotated properly, however, I am not being emailed the rotated log. What am I doing wrong?
My main logrotate.conf is:
include /etc/logrotate.d
here is my /etc/logrotate.d/php-errors:
/var/log/php-errors.log {
rotate 7
daily
missingok
notifempty
mail me@example.com
}