diff options
Diffstat (limited to 'extras/glusterfs-logrotate')
| -rw-r--r-- | extras/glusterfs-logrotate | 14 | 
1 files changed, 12 insertions, 2 deletions
diff --git a/extras/glusterfs-logrotate b/extras/glusterfs-logrotate index 575c0eee771..75f700e6459 100644 --- a/extras/glusterfs-logrotate +++ b/extras/glusterfs-logrotate @@ -2,7 +2,12 @@  /var/log/glusterfs/*.log {    sharedscripts    weekly -  rotate 52 +  maxsize 10M +  minsize 100k + +# 6 months of logs are good enough +  rotate 26 +    missingok    compress    delaycompress @@ -17,7 +22,12 @@  /var/log/glusterfs/bricks/*.log {    sharedscripts    weekly -  rotate 52 +  maxsize 10M +  minsize 100k + +# 6 months of logs are good enough +  rotate 26 +    missingok    compress    delaycompress  | 
