title: Log4Net: Rolling File appender, define extension
body: <p>I want my logfile to look something like this:
  2009-02-13.log</p>
  
  <p>but the problem is that I can't seem to find any way to add the .log extension.</p>
  
  <p>I've tried a lot of things but nothing helps.
  This is what I have this far:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"&gt;
      &lt;file value="Logs/Log4Net/.log"/&gt;
      &lt;appendToFile value="true"/&gt;
      &lt;rollingStyle value="Date"/&gt;
      &lt;datePattern value="yyyy-MM-dd" /&gt;
      &lt;layout type="log4net.Layout.PatternLayout"&gt;
        &lt;conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline"/&gt;
      &lt;/layout&gt;
  &lt;/appender&gt;
  </code></pre>