/etc/logrotate.d/glusterfs-common is in glusterfs-common 3.13.2-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | /var/log/glusterfs/*.log /var/log/glusterfs/bricks/*.log {
daily
rotate 7
delaycompress
compress
copytruncate
notifempty
missingok
postrotate
[ ! -f /var/run/glusterd.pid ] || kill -HUP `cat /var/run/glusterd.pid` ; killall -HUP glusterfs > /dev/null 2>&1 || true
endscript
}
|