[Gluster-devel] Logrotate with GlusterFS

Anand Avati anand.avati at gmail.com
Fri Sep 18 05:13:11 UTC 2009


> Is there a way to successfully make GlusterFS logs work correctly with log
> rotation? My assumption would be that GlusterFS would need to close and
> unlock the log file at the end of every write operation. It would also need
> to check for the existence of the log file at the start of every write
> operation.

Rename the logfile and send a SIGHUP to the daemon. The next logging
will happen with a reopen/recreate.

Avati





More information about the Gluster-devel mailing list