<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thanks, Ramki<br>
    <br>
    <div class="moz-cite-prefix">On 8/19/2013 3:31 PM, Srinivas
      Ramakrishna wrote:<br>
    </div>
    <blockquote
cite="mid:CABzyjymvDXxLC1nhk4MLZqi07tsP07gn_DdupHkdNqKThpa+dg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div><br>
                    </div>
                    Hi Yumin --<br>
                    <br>
                  </div>
                  Somewhat orthogonal to the discussion at hand, and
                  certainly not a code review/discussion (so i<br>
                  apologize for injecting this into $SUBJ) but I wanted
                  to say that log rotation is definitely a useful
                  capability in the field.<br>
                </div>
                <br>
              </div>
              Have you folks perhaps considered two possible
              enhancements:<br>
            </div>
            (1) rotate logs at a frequency and time specified. (For
            example, on a daily, weekly or monthly basis.)<br>
          </div>
        </div>
      </div>
    </blockquote>
    No such consideration at present.&nbsp; This&nbsp; needs an option for
    specifying the frequency.<br>
    <blockquote
cite="mid:CABzyjymvDXxLC1nhk4MLZqi07tsP07gn_DdupHkdNqKThpa+dg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>(2) rotate logs asynchronously upon request. (say via a
          suitable bean.)<br>
          <br>
        </div>
      </div>
    </blockquote>
    I can file a bug for serviceability to have this function together
    with (1) through jmx or jmc.<br>
    <br>
    Thanks<br>
    Yumin<br>
    <blockquote
cite="mid:CABzyjymvDXxLC1nhk4MLZqi07tsP07gn_DdupHkdNqKThpa+dg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>If (1) can be simulated by existing means I am all ears.<br>
          <br>
        </div>
        <div>thanks!<br>
        </div>
        -- ramki<br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Thu, Aug 15, 2013 at 8:35 AM, Yumin
          Qi <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:yumin.qi@oracle.com" target="_blank">yumin.qi@oracle.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Hi, <br>
              <br>
              &nbsp; Can I have your review for this small changes?<br>
              &nbsp; <a moz-do-not-send="true"
                href="http://cr.openjdk.java.net/%7Eminqi/7164841/webrev00/"
                target="_blank">http://cr.openjdk.java.net/~minqi/7164841/webrev00/</a><br>
              <br>
              &nbsp;&nbsp; This is for a enhancement to add head/tail message to
              the logging files to assist reading GC output.<br>
              &nbsp;&nbsp; 1. modified prompt message if invalid arguments used
              for log rotating;<br>
              &nbsp;&nbsp; 2. add time and file name message to log file
              head/tail.<br>
              &nbsp;&nbsp; 3. for easily identify which log file is current, use
              file name like &lt;filename&gt;.n.current, after it
              reaches maximum size, rename it to &lt;filename&gt;.n<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; On Windows, there is no F_OK (existing test)
              definition, F_OK is defined as "0" and for _access of
              VC++, it just describes:<br>
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
              <table
                style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;width:1306px;font-style:normal;font-weight:normal;padding:0px;line-height:17px;border-collapse:collapse;text-transform:none;font-size:13px;white-space:normal;font-family:'Segoe
                UI','Lucida
                Grande',Verdana,Arial,Helvetica,sans-serif;border:1px
                solid rgb(187,187,187);word-spacing:0px">
                <tbody>
                  <tr>
                    <th style="border:1px solid
                      rgb(187,187,187);margin:10px;padding:10px
8px;background-color:rgb(237,237,237);color:rgb(112,112,112);text-align:left">
                      <p
style="color:rgb(42,42,42);margin-top:0px;margin-bottom:0px;padding-bottom:0px;line-height:18px"><span
                          style="font-style:italic">mode</span><span>&nbsp;</span>value</p>
                    </th>
                    <th style="border:1px solid
                      rgb(187,187,187);margin:10px;padding:10px
8px;background-color:rgb(237,237,237);color:rgb(112,112,112);text-align:left">
                      <p
style="color:rgb(42,42,42);margin-top:0px;margin-bottom:0px;padding-bottom:0px;line-height:18px">Checks
                        file for</p>
                    </th>
                  </tr>
                  <tr>
                    <td style="border:1px solid
                      rgb(187,187,187);margin:10px;padding:10px
                      8px;color:rgb(42,42,42);vertical-align:top">
                      <p
style="color:rgb(42,42,42);margin-top:0px;margin-bottom:0px;padding-bottom:0px;line-height:18px">00</p>
                    </td>
                    <td style="border:1px solid
                      rgb(187,187,187);margin:10px;padding:10px
                      8px;color:rgb(42,42,42);vertical-align:top">
                      <p
style="color:rgb(42,42,42);margin-top:0px;margin-bottom:0px;padding-bottom:0px;line-height:18px">Existence
                        only</p>
                    </td>
                  </tr>
                  <tr>
                    <td style="border:1px solid
                      rgb(187,187,187);margin:10px;padding:10px
                      8px;color:rgb(42,42,42);vertical-align:top">
                      <p
style="color:rgb(42,42,42);margin-top:0px;margin-bottom:0px;padding-bottom:0px;line-height:18px">02</p>
                    </td>
                    <td style="border:1px solid
                      rgb(187,187,187);margin:10px;padding:10px
                      8px;color:rgb(42,42,42);vertical-align:top">
                      <p
style="color:rgb(42,42,42);margin-top:0px;margin-bottom:0px;padding-bottom:0px;line-height:18px">Write-only</p>
                    </td>
                  </tr>
                  <tr>
                    <td style="border:1px solid
                      rgb(187,187,187);margin:10px;padding:10px
                      8px;color:rgb(42,42,42);vertical-align:top">
                      <p
style="color:rgb(42,42,42);margin-top:0px;margin-bottom:0px;padding-bottom:0px;line-height:18px">04</p>
                    </td>
                    <td style="border:1px solid
                      rgb(187,187,187);margin:10px;padding:10px
                      8px;color:rgb(42,42,42);vertical-align:top">
                      <p
style="color:rgb(42,42,42);margin-top:0px;margin-bottom:0px;padding-bottom:0px;line-height:18px">Read-only</p>
                    </td>
                  </tr>
                  <tr>
                    <td style="border:1px solid
                      rgb(187,187,187);margin:10px;padding:10px
                      8px;color:rgb(42,42,42);vertical-align:top">
                      <p
style="color:rgb(42,42,42);margin-top:0px;margin-bottom:0px;padding-bottom:0px;line-height:18px">06</p>
                    </td>
                    <td style="border:1px solid
                      rgb(187,187,187);margin:10px;padding:10px
                      8px;color:rgb(42,42,42);vertical-align:top">
                      <p
style="color:rgb(42,42,42);margin-top:0px;margin-bottom:0px;padding-bottom:0px;line-height:18px">Read
                        and write</p>
                    </td>
                  </tr>
                </tbody>
              </table>
              <br>
              <a moz-do-not-send="true"
                href="http://msdn.microsoft.com/en-us/library/1w06ktdy.aspx"
                target="_blank">http://msdn.microsoft.com/en-us/library/1w06ktdy.aspx</a><br>
              The definition are consistent with unistd.h. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
              <br>
              &nbsp;&nbsp;&nbsp; Test: JPRT and jtreg.<br>
              <br>
              &nbsp;&nbsp; Thanks<span class="HOEnZb"><font color="#888888"><br>
                  &nbsp;&nbsp; Yumin<br>
                </font></span></div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>