title: Weblogic rotation log files
body: <p>In Weblogic if I want to save the log files by more than one rotation type, is that possible?
  I want to make the logs with the maximum size of 5Mb, but if they doen't reach the maximum size I want then to rotate by day.
  Is this possible?</p>
  
  <pre><code>&lt;log&gt;
    &lt;file-name&gt;logs/examplesServer.log&lt;/file-name&gt;
    &lt;rotation-type&gt;byTime&lt;/rotation-type&gt;
    &lt;number-of-files-limited&gt;true&lt;/number-of-files-limited&gt;
    &lt;file-time-span&gt;24&lt;/file-time-span&gt;
    &lt;rotation-time&gt;00:00&lt;/rotation-time&gt;
    &lt;rotate-log-on-startup&gt;true&lt;/rotate-log-on-startup&gt;
    &lt;logger-severity&gt;Info&lt;/logger-severity&gt;
    &lt;log-file-severity&gt;Debug&lt;/log-file-severity&gt;
    &lt;stdout-severity&gt;Notice&lt;/stdout-severity&gt;
    &lt;domain-log-broadcast-severity&gt;Notice&lt;/domain-log-broadcast-severity&gt;
    &lt;memory-buffer-severity&gt;Trace&lt;/memory-buffer-severity&gt;
    &lt;log4j-logging-enabled&gt;false&lt;/log4j-logging-enabled&gt;
    &lt;redirect-stdout-to-server-log-enabled&gt;false&lt;/redirect-stdout-to-server-log-enabled&gt;
    &lt;domain-log-broadcaster-buffer-size&gt;1&lt;/domain-log-broadcaster-buffer-size&gt;
  &lt;/log&gt;
  </code></pre>