title: log multiple assemblies using log4net
body: <p>After lots of issues, finally I managed to configure log4net for my window service.</p>
  
  <p>I am pretty new to it and today I started configuring it. I have these below doubts.</p>
  
  <p>1) <strong>I need to use that into multiple assemblies. Say I have an assembly 'A' which is added as reference in assembly 'B' which is mine main assembly where I have reference of log4net.I need to log both assembly 'A' and 'B'.</strong></p>
  
  <p>2) My application is multi-threaded and use lots of thread. So is log4net is thread safe?</p>
  
  <p>3) I am using this below config in my app.config. I am not much aware what’s the use of it. But I don’t want to use unnecessary parameters.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;log4net&gt;
       &lt;root&gt;
         &lt;level value="DEBUG"/&gt;
         &lt;appender-ref ref="LogFileAppender"/&gt;
       &lt;/root&gt;
       &lt;appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender"&gt;
         &lt;param name="File" value="C:\logs\log.txt"/&gt;
         &lt;param name="AppendToFile" value="true"/&gt;
         &lt;rollingStyle value="Size"/&gt;
         &lt;maxSizeRollBackups value="10"/&gt;
         &lt;maximumFileSize value="100KB"/&gt;
         &lt;staticLogFileName value="true"/&gt;
         &lt;layout type="log4net.Layout.PatternLayout"&gt;
           &lt;param name="ConversionPattern" value="%-5p%d{yyyy-MM-dd hh:mm:ss} – %m%n"/&gt;
         &lt;/layout&gt;
       &lt;/appender&gt;   
  &lt;/log4net&gt;
  </code></pre>