<meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="https://github.com/gluster/glusterfs/blob/master/extras/glusterfs-logrotate">https://github.com/gluster/glusterfs/blob/master/extras/glusterfs-logrotate</a><div>
<br></div><div><a href="https://github.com/gluster/glusterfs/blob/master/extras/glusterfs-logrotate"></a>This is part of release tarball as of now in 3.2.2 (and future). Its not yet included in RPM files. Need more testing of these before getting this to mainstream.<br>
<br><div class="gmail_quote">2011/7/19 Amar (ಅಮರ್ ತುಂಬಳ್ಳಿ) <span dir="ltr">&lt;<a href="mailto:amarts@gmail.com">amarts@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
FYI.. Check inline.<div><div></div><div class="h5"><br><br><div class="gmail_quote">2011/7/19 Amar Tumballi <span dir="ltr">&lt;<a href="mailto:amar@gluster.com" target="_blank">amar@gluster.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="KO" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Malgun Gothic&quot;;color:#1F497D">Is there any way to rotate client side’s log <u></u><u></u></span></p>




<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Malgun Gothic&quot;;color:#1F497D"><u></u> <u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Malgun Gothic&quot;;color:#1F497D">It’s getting bigger every day. <u></u><u></u></span></p>

<div>

<div>

<p class="MsoNormal"><span lang="EN-US"><u></u></span></p></div></div></div></div></blockquote><div><br></div></div><div>get the pid of client process </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div lang="KO" link="blue" vlink="purple"><div><div><div><p class="MsoNormal"><span lang="EN-US"> <u></u></span></p>

</div>

<p class="MsoNormal"><span lang="EN-US"><u></u></span></p></div></div></div></blockquote><div># ps aux | grep glusterfs &lt;----- to get the pid of the glusterfs client process</div><div><br></div><div>move the existing log file to some other file.</div>


<div><br></div><div># mv &lt;current-log-file&gt;.log &lt;some-name-you-choose&gt;.log.1</div><div><br></div><div>send SIGHUP to the pid of client process.</div><div><br></div><div># kill -HUP $PID  </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div lang="KO" link="blue" vlink="purple"><div><div><p class="MsoNormal"><span lang="EN-US"> </span></p></div></div></div></blockquote><div><br></div><div>Your log rotation is complete.</div><div> </div></div>
</blockquote></div><br>
</div></div></blockquote></div><br></div>