Server IP : 172.16.15.8 / Your IP : 3.147.65.111 Web Server : Apache System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.2.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /etc/logrotate.d/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
# Rotate client logs /var/log/glusterfs/*.log { sharedscripts weekly maxsize 10M minsize 100k # 6 months of logs are good enough rotate 26 missingok compress delaycompress notifempty 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 { sharedscripts weekly maxsize 10M minsize 100k # 6 months of logs are good enough rotate 26 missingok compress delaycompress notifempty postrotate /usr/bin/killall -HUP glusterfsd > /dev/null 2>&1 || true endscript } /var/log/glusterfs/samples/*.samp { daily rotate 3 sharedscripts missingok compress delaycompress } # Rotate snapd log /var/log/glusterfs/snaps/*/*.log { sharedscripts weekly maxsize 10M minsize 100k # 6 months of logs are good enough rotate 26 missingok compress delaycompress notifempty postrotate /usr/bin/killall -HUP `pgrep -f "glusterfs.*snapd"` > /dev/null 2>&1 || true endscript }