title: Append current Date to Log file with Log4Net
body: <p>All I want to do is append the current date and time to my log file, say:</p>
  
  <pre><code>"export_(Wed_Feb_21_2009_at_1_36_41PM)"
  </code></pre>
  
  <p>Here is my current config from my app.config</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"&gt;
      &lt;file value="c:\export.txt" /&gt;
      &lt;appendToFile value="true" /&gt;
      &lt;lockingModel type="log4net.Appender.FileAppender+MinimalLock" /&gt;
      &lt;rollingStyle value="Size" /&gt;
      &lt;maxSizeRollBackups value="10" /&gt;
      &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message %stackTrace%newline" /&gt;
      &lt;/layout&gt;
  &lt;/appender&gt;
  </code></pre>
  
  <p>Is appending the date to my log file possible, or is it one of those things I need to do in code and not config?</p>