title: log file is not created using log4net
body: <p>I have downloaded the log4net.dll and added that as a service reference.
  One of the project I have created has app.config where I have made the following configurations</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
  &lt;configSections&gt;
      &lt;section name="log4net"type="log4net.Config.Log4NetConfigurationSectionHandler,Log4net"/&gt;
  &lt;/configSections&gt;
  &lt;log4net&gt;       
      &lt;appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender" &gt;
          &lt;param name="File" value="C:\\Users\\&lt;myid&gt;\\Desktop\\error.log"/&gt;
          &lt;appendToFile value="true" /&gt;
          &lt;rollingStyle value="Size" /&gt;
          &lt;maxSizeRollBackups value="10" /&gt;
          &lt;maximumFileSize value="10MB" /&gt;
          &lt;staticLogFileName value="true" /&gt;
      &lt;/appender&gt;
      &lt;root&gt;
          &lt;level value="ALL" /&gt;
          &lt;appender-ref ref="RollingFileAppender" /&gt;
      &lt;/root&gt;
  &lt;/log4net&gt;
  &lt;startup&gt;
  &lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/&gt;
  &lt;/startup&gt;
  &lt;system.serviceModel&gt;
      &lt;bindings /&gt;
      &lt;client /&gt;
  &lt;/system.serviceModel&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>I have an Entry form and created and declared </p>
  
  <pre><code>private static readonly log4net.ILog logger = log4net.LogManager.GetLogger
    (System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
  </code></pre>
  
  <p>this inside the partial class and the the logging I have used here</p>
  
  <pre><code> private void Entry_Load(object sender, EventArgs e)
      {
          log4net.Config.XmlConfigurator.Configure();
          logger.Debug("logged");            
      }
  </code></pre>
  
  <p>and I have added </p>
  
  <pre><code>[assembly: log4net.Config.XmlConfigurator(ConfigFile = "app.config", Watch = true)]
  </code></pre>
  
  <p>in Assemblyinfo.cs class</p>
  
  <p>and also added this in the main.cs class</p>
  
  <pre><code>static void Main(string[] args)
  {
              log4net.Config.XmlConfigurator.Configure();
              logger.Debug("app started");
      }
  </code></pre>
  
  <p>The log file itself is not created and when I debug it runs through these codes properly.
  I am using log4net.dll version 1.2.13 for desktop applications using .net 4.0 c#.
  How can I achieve this?</p>