glusterfs
1/var/log/glusterfs/geo-replication/*/*.log {
2sharedscripts
3weekly
4maxsize 10M
5minsize 100k
6
7# 6 months of logs are good enough
8rotate 26
9
10missingok
11compress
12delaycompress
13notifempty
14postrotate
15for pid in `ps -aef | grep glusterfs | egrep "\-\-aux-gfid-mount" | awk '{print $2}'`; do
16/usr/bin/kill -HUP $pid > /dev/null 2>&1 || true
17done
18endscript
19}
20
21
22/var/log/glusterfs/geo-replication-secondaries/*.log {
23sharedscripts
24weekly
25maxsize 10M
26minsize 100k
27
28# 6 months of logs are good enough
29rotate 26
30
31missingok
32compress
33delaycompress
34notifempty
35postrotate
36for pid in `ps -aef | grep glusterfs | egrep "\-\-aux-gfid-mount" | awk '{print $2}'`; do
37/usr/bin/kill -HUP $pid > /dev/null 2>&1 || true
38done
39endscript
40}
41
42
43/var/log/glusterfs/geo-replication-secondaries/*/*.log {
44sharedscripts
45weekly
46maxsize 10M
47minsize 100k
48
49# 6 months of logs are good enough
50rotate 26
51
52missingok
53compress
54delaycompress
55notifempty
56postrotate
57for pid in `ps -aef | grep glusterfs | egrep "\-\-aux-gfid-mount" | awk '{print $2}'`; do
58/usr/bin/kill -HUP $pid > /dev/null 2>&1 || true
59done
60endscript
61}
62