You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-cluster/glusterfs/files/glusterfs.logrotate

35 lines
611 B

# Rotate client logs
/var/log/glusterfs/*.log {
weekly
rotate 52
missingok
# compress the logs, but from the .2 onwards
compress
delaycompress
notifempty
sharedscripts
postrotate
/usr/bin/killall -HUP glusterfs > /dev/null 2>&1 || true
/usr/bin/killall -HUP glusterd > /dev/null 2>&1 || true
endscript
}
# Rotate server logs
/var/log/glusterfs/bricks/*.log {
weekly
rotate 52
missingok
# compress the logs, but from the .2 onwards
compress
delaycompress
notifempty
sharedscripts
postrotate
/usr/bin/killall -HUP glusterfsd > /dev/null 2>&1 || true
endscript
}