title: logback create log files inside folder having name as current date
body: <p>In my current project i want to create log files date wise i.e. log files should reside inside<br>
  folder having name as date.
  Also archiving should happen at that particular folder.</p>
  
  <p>Current appender that i am using looks like this (it does archiving of log file based on size).</p>
  
  <pre><code>    &lt;appender name="AUDITFILE"
      class="ch.qos.logback.core.rolling.RollingFileAppender"&gt;
      &lt;file&gt;${PROJECT_HOME}\\projectname\\audits\\myproject.log&lt;/file&gt;
      &lt;append&gt;true&lt;/append&gt;
      &lt;rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"&gt;
          &lt;fileNamePattern&gt;${PROJECT_HOME}\\projectname\\audits\\myproject_%d{yyyy-MM-dd}.%i.zip
          &lt;/fileNamePattern&gt;
          &lt;maxHistory&gt;10&lt;/maxHistory&gt;
          &lt;timeBasedFileNamingAndTriggeringPolicy
              class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP"&gt;
              &lt;maxFileSize&gt;10KB&lt;/maxFileSize&gt;
  
          &lt;/timeBasedFileNamingAndTriggeringPolicy&gt;
      &lt;/rollingPolicy&gt;
      &lt;encoder&gt;
          &lt;pattern&gt;%date %msg%n
          &lt;/pattern&gt;
      &lt;/encoder&gt;
  &lt;/appender&gt;
  </code></pre>