<div class="gmail_quote"><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>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>