<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EWS logs file are rotated too quickly"
   href="https://bugs.webkit.org/show_bug.cgi?id=160724">160724</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EWS logs file are rotated too quickly
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Local Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Tools / Tests
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aakash_jain&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lforschler&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After enabling the recent logging to file in EWS, there are a lot of log files which are very small (&lt; 1kb). This is because we rotate the log file every few hours. This created unnecessary large number of files and makes debugging harder. While rotating the log files, we should also check for file size and rotate the log file only if the size is greater than a threshold.


e.g.: lot of such files of 162B.
-rw-r--r--  1 buildbot  admin   162B Aug  8 12:38 mac-wk2-ews_2016-08-08_12-08.log
-rw-r--r--  1 buildbot  admin   162B Aug  8 13:46 mac-wk2-ews_2016-08-08_14-08.log
-rw-r--r--  1 buildbot  admin   162B Aug  8 15:11 mac-wk2-ews_2016-08-08_15-08.log</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>