#--------------------------------------------------------------------------- # # Log rotation configuration file # # Format: logfile copies [daily|weekly|monthly] [day|day of month] # [pre-processing script/command] [post-processing script/command] # # Fields must be tab separated. # # NB: rotatelogs does an explicit HUP of syslog, last thing ... #--------------------------------------------------------------------------- # Standard system logs /var/adm/messages 8 weekly Sunday - - /var/log/syslog 8 weekly Sunday - - /var/log/authlog 8 weekly Sunday - - # Process proxy logs /var/log/squid/access.log 8 weekly Sunday - /usr/local/bin/proxystats /var/log/squid/cache.log 8 weekly Sunday - - # Process apache logs /var/log/apache/access.log 12 monthly 1 - /usr/local/bin/webstats /var/log/apache/error.log 3 monthly 1 - -