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
13 # packages drop log rotation information into this directory
14 include /etc/logrotate.d
23 /var/log/httpd/access_log /var/log/httpd/error_log /var/log/httpd/ssl_request_log /var/log/httpd/ssl_engine_log {
27 /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
31 /var/log/suricata/*.log {
38 /bin/find /var/log/suricata -path '/var/log/suricata/[0-9]*' -prune -exec /bin/rm -rf {} \;
39 /bin/find /var/log/suricata -name 'fast.log.*' -mtime +28 -exec /bin/rm -rf {} \;
40 /bin/kill -HUP `cat /var/run/suricata.pid 2> /dev/null` 2> /dev/null || true
44 /var/log/squid/access.log /var/log/squid/user_agent.log /var/log/squid/referer.log {
51 /var/log/squid/cache.log {
59 /var/log/squid/store.log {
66 /bin/chmod -R ugo+rX /var/log/squid
67 /usr/sbin/squid -k rotate
71 /var/log/messages /var/log/bootlog /var/log/dhcpcd.log /var/log/mail {
72 create 664 root syslogd
76 /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
80 /var/log/squidGuard/*.log {
89 /var/log/updatexlrator/*.log {