title: Writing Logs To Different Folders At Each Day With Log4net
body: <p>I want to log different folder at each day with log4net. </p>
  
  <p>What I found so far is  using data pattern with RollingFileAppender:</p>
  
  <pre><code>&lt;appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender"&gt;
   &lt;file value="Logs\logfile.log" /&gt;
  &lt;appendToFile value="true" /&gt;
   &lt;rollingStyle value="Composite" /&gt;
   &lt;datePattern value=".yyyyMMdd-HHmm" /&gt;
  &lt;maxSizeRollBackups value="10" /&gt;
  &lt;maximumFileSize value="1MB" /&gt;
   &lt;countDirection value="1"/&gt;
   &lt;layout type="log4net.Layout.PatternLayout"&gt;
   &lt;conversionPattern value="%date [%thread] %-5level %logger- %message%newline" /&gt;
  &lt;/layout&gt;
  </code></pre>
  
  <p></p>
  
  <p>But this just create same new file under Logs folder. What  I want is, </p>
  
  <p><strong>At each different day logger create new folder and write logs under that folder</strong> such as:</p>
  
  <blockquote>
    <p>Logs\Day1\logfile.log, Logs\Day2\logfile.log, Logs\N\logfile.log, ... </p>
  </blockquote>
  
  <p>Is it possible in Log4net?</p>