[Bugs] [Bug 949706] Log-rotate needs to hup

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 19 13:05:35 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=949706

Lalatendu Mohanty <lmohanty at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lmohanty at redhat.com



--- Comment #4 from Lalatendu Mohanty <lmohanty at redhat.com> ---
I think it is fixed in master now. I can see we are HUPing for glusterfs,
glusterd and glusterfsd

# Rotate client logs
/var/log/glusterfs/*.log {
  sharedscripts
  weekly
  rotate 52
  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
  rotate 52
  missingok
  compress
  delaycompress
  notifempty
  postrotate
  /usr/bin/killall -HUP glusterfsd > /dev/null 2>&1 || true
  endscript
}

https://github.com/gluster/glusterfs/blob/master/extras/glusterfs-logrotate

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list