1 # This file describes the rotation of the centralized log files in /data, from
4 /data/log/rsyslog/hosts/*/*/*.log
6 # Never throw away logfiles for now
10 # Compress rotated files
12 # Use the rotation date as an extension
14 # Reload rsyslog after rotation, but only once for all scripts
17 invoke-rc.d rsyslog reload > /dev/null
19 # Put the rotated logs in a separate dir
20 # Disabled, since logrotate insists these directories exist before
21 # rotation (and even before running scripts...)
25 # This logfile is mostly used for quick lookups of recent events and for
26 # logcheck to parse. So we only keep one rotated version. Logcheck should be
27 # able to handle the rotation gracefully this way.
28 /data/log/rsyslog/all.log
33 invoke-rc.d rsyslog reload > /dev/null