I have a default Slackware 10 (stable) installation. I created a file 'apache' in /etc/logrotate.d/ with the following contents
Code:
/var/log/apache/access_log /var/log/apache/error_log {
missingok
daily
sharedscripts
postrotate
/usr/sbin/apachectl graceful 2>/dev/null || true
endscript
}
When I run '/usr/sbin/logrotate -v /etc/logrotate.conf', it tells me that the apache logs do not need rotating. What's wrong?