title: Specify log4net config for use in class library in using/parent project
body: <p>I have implemented log4net in a class library project like so:</p>
  
  <pre><code>private static readonly ILog _logger = 
          LogManager.GetLogger(typeof(SomeClass));
  </code></pre>
  
  <p>That's all I've done. No config file or anything.</p>
  
  <p>Then in my project that references this class library, I included a log4net config section in the app.config:</p>
  
  <pre><code>&lt;log4net&gt;
  &lt;root&gt;
    &lt;level value="ALL" /&gt;
    &lt;appender-ref ref="FileAppender"/&gt;
  &lt;/root&gt;
  &lt;appender name="FileAppender" type="log4net.Appender.FileAppender"&gt;
    &lt;file value="C:/abcd.log" /&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>
  
  <p></p>
  
  <p>Now, the log4net logger in the class library project is not able to read the config from its "parent" project, so to speak.</p>
  
  <p>I'm sure I need some more configuration, but I don't know where to start. There are similar questions on stackoverflow etc., but I believe they don't really give an answer on how to do this.</p>
  
  <p>Your help is really appreciated.</p>
  
  <p>Thanks.</p>