# Rotate all the gluster-block logs
/var/log/gluster-block/*.log {
  sharedscripts
  weekly
  maxsize 10M
  minsize 100k

# 6 months of logs are good enough
  rotate 26

  missingok
  compress
  delaycompress
  notifempty
  postrotate
  killall -q -s 1 gluster-blockd > /dev/null 2>&1 || true
  endscript
}
