1 # rotate log files weekly
4 # keep 52 weeks worth of backlogs
7 # create new (empty) log files after rotating old ones
10 # uncomment this if you want your log files compressed
20 /var/log/httpd/access_log /var/log/httpd/error_log /var/log/httpd/ssl_request_log /var/log/httpd/ssl_engine_log {
24 /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
28 /var/log/snort/alert {
35 /bin/find /var/log/snort -path '/var/log/snort/[0-9]*' -prune -exec /bin/rm -rf {} \;
36 /bin/find /var/log/snort -name 'snort.log.*' -mtime +28 -exec /bin/rm -rf {} \;
37 /etc/init.d/snort restart
41 /var/log/squid/access.log /var/log/squid/user_agent.log /var/log/squid/referer.log {
48 /var/log/squid/cache.log {
56 /var/log/squid/store.log {
63 /bin/chmod -R ugo+rX /var/log/squid
64 /usr/sbin/squid -k rotate
68 /var/log/messages /var/log/bootlog /var/log/dhcpcd.log {
69 create 664 root syslogd
73 /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
77 /var/log/squidGuard/*.log {
86 /var/log/updatexlrator/*.log {