I use logrotate to rotate Apache access-, error- and rewrite-logs. My config file looks like this:
/apache/*log {
    compress
    dateext
    rotate 365
    size=+300M
    olddir /log/old/apache
    notifempty
    missingok
    lastaction
     /bin/apache reload
    endscript
}
My problem is that whenever a rotation occurs, Apache has to be reloaded because Apache doesn't write any more in the just-rotated logfile. Is there a way to avoid Apache reloads every time logrotate does a rotation?



