title: How can I get the log filename through code?
body: <p>How can I get the log filename in code? (So I can print it to the console)</p>
  
  <p>My log file is define like this in app.config:</p>
  
  <pre><code>&lt;appender name="RollingLogFileAppender"
     type="log4net.Appender.RollingFileAppender"&gt;
        &lt;file value="logfile" /&gt;
      ...
  </code></pre>