<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 10/19/2016 04:46 PM, Lindsay Mathieson wrote:<br>
    <blockquote
      cite="mid:b009c879-1051-d03a-cca7-539883960d56@gmail.com"
      type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">On 20/10/2016 9:30 AM, Joe Julian
        wrote:<br>
      </div>
      <blockquote
        cite="mid:930bb62d-3a90-703e-da4b-8384743738c6@julianfamily.org"
        type="cite">
        <blockquote type="cite" style="color: #000000;">Joe, when you
          say truncated, just delete the logs before the test is
          started? <br>
          <br>
        </blockquote>
        <br>
        That's one way of doing it, yes. <span class="moz-smiley-s1"
          title=":)"><span>:)</span></span></blockquote>
      <br>
      <p>nb: I've noticed that if you delete the logs while gluster is
        running they won't be recreated, you have to restart the
        services. Is there a better way of doing it?<br>
      </p>
    </blockquote>
    <br>
    Personally, with logrotate I use copytruncate. If I want to truncate
    the whole shebang manually: <br>
    <br>
        find -type f -exec truncate --size=0 {} \;<br>
    <br>
    <blockquote
      cite="mid:b009c879-1051-d03a-cca7-539883960d56@gmail.com"
      type="cite">
      <pre class="moz-signature" cols="72">-- 
Lindsay Mathieson</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>