title: Can you set a property value within the log4net config?
body: <p>I'm working on a C# application that will have quite a few log files. These log files will be created in the same file path, and this file path will be determined at configuration time.</p>
  
  <p>Is there a way I could specify this log files <em>basepath</em> in a single location the log4net configuration e.g. in a property?</p>
  
  <p>I'd, of course, be referencing this basepath in the <code>file</code> param of each logfile appender?</p>
  
  <p>One option I've considered is setting this path in the app.config/web.config, which the application will transfer into a log4net global context property. However, that would mean making sure that all loggers are created AFTER this property is set.</p>
  
  <p>Any comments on the preferred, <em>or</em> the fallback method are welcome.</p>
  
  <p>cheers!</p>