]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/examples/evergreen_logrotate.conf
LP#1918511: make the Bootstrap skin the default for the public catalog
[Evergreen.git] / Open-ILS / examples / evergreen_logrotate.conf
1 # move/copy/symlink into /etc/logrotate.d/
2
3 compress
4 /openils/var/log/*.log {
5   # keep the last 4 archived log files along with the current log file
6   #   log log.1.gz log.2.gz log.3.gz log.4.gz
7   # and delete the oldest log file (what would have been log.5.gz)
8   rotate 5
9
10   # if the log file is > 50MB in size, rotate it immediately
11   size 200M
12
13   # for those logs that don't grow fast, rotate them weekly anyway
14   weekly
15 }