## # Apache WebServer Logs # # rotate when log reaches 100k, keep 30 rotations worth # sharedscripts: the postrotate script will only be run once, # not once for each log which is rotated # compress the log files with gzip -9 "/var/log/httpd/access_log" "/var/log/httpd/error_log" { size=100k rotate 30 sharedscripts postrotate /usr/bin/killall -HUP httpd endscript compress }