title: In log4net, how do I use the same appender, just with a different file name?
body: <p>I have a log4net file appender configured that all my log files should use:</p>
  
  <pre><code>&lt;appender name="FileAppender" type="log4net.Appender.RollingFileAppender"&gt;
      &lt;file type="log4net.Util.PatternString" value="..\Logs\"/&gt;
      &lt;appendToFile value="true"/&gt;
      &lt;datePattern type="log4net.Util.PatternString" value="yyyyMMdd'.Log'"/&gt;
      &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="[%date][%-5level][%logger] %message%newline"/&gt;
      &lt;/layout&gt;
  &lt;/appender&gt;
  </code></pre>
  
  <p>The directory and date pattern is hard-coded. I have different loggers that should use the exact same configuration, but just with a different folder name.</p>
  
  <p>For now, I ended up copying and pasting each block into a new appender, but is there a way to configure log4net to 'share' a common appender's settings?</p>