title: Log4j2 Configuration for rolling file for specified format
body: <p>I want to configure log4j2.xml will below configuration.If My log file size increase than 5 MB ,it should create new Files.and on next day All file will be compressed and stores into zip with date format.
      e.g
      for 01-06-2015  applog.log 2 MB,
          01-06-2015  applog.log.1  3 MB,
          01-06-2015  applog.log.2 3 MB,
          01-06-2015  applog.log.3 3 MB
      On 01-0702015 ,It all should be compressed and stored into folder applog-%d{dd-MM}-%i.zip
      My current Configuration is below:</p>
  
  <pre><code>&lt;appenders&gt;   
     &lt;RollingFile name="applog_Appender" fileName="D:/logs/applog.log"
                   filePattern="D:/logs/$${date:yyyy-MM}/app-%d{dd-MM-yyyy}-%i.zip"&gt;                       
               &lt;Policies&gt;
                  &lt;TimeBasedTriggeringPolicy /&gt;
                  &lt;SizeBasedTriggeringPolicy size="3 MB"/&gt;
              &lt;/Policies&gt;
         &lt;DefaultRolloverStrategy max="15" /&gt;       
      &lt;/RollingFile&gt;              
    &lt;/appenders&gt;
  </code></pre>
  
  <p>With this configuration,It will create only zip with applog.log. I want applog.log ....applog.log.n of one day to be compressed and create zip</p>