[Gluster-users] how to rotate log of client side

Amar Tumballi amar at gluster.com
Tue Jul 19 09:29:58 UTC 2011


>
> Is there any way to rotate client side’s log ****
>
> ** **
>
> It’s getting bigger every day. ****
>
> **
>

get the pid of client process

>  **
>
> **
>
# ps aux | grep glusterfs <----- to get the pid of the glusterfs client
process

move the existing log file to some other file.

# mv <current-log-file>.log <some-name-you-choose>.log.1

send SIGHUP to the pid of client process.

# kill -HUP $PID

>
>

Your log rotation is complete.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110719/7d2cfc30/attachment.html>


More information about the Gluster-users mailing list