gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Logrotate with GlusterFS


From: Anand Avati
Subject: Re: [Gluster-devel] Logrotate with GlusterFS
Date: Fri, 18 Sep 2009 10:43:11 +0530

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]