title: Failed obtaining configuration for Common.Logging from configuration section 'common/logging'
body: <p>I'm trying to configure a console application with the following logging assemblies: </p>
  
  <ul>
  <li>Common.Logging.dll (2.1.0.0) </li>
  <li>Common.Logging.Log4Net1211.dll (2.1.0.0)</li>
  <li>log4net.dll (1.2.11.0)</li>
  </ul>
  
  <p>If the logger gets configured programmatically then everything works fine:</p>
  
  <pre><code>NameValueCollection properties = new NameValueCollection(); properties["showDateTime"] = "true";    
  Common.Logging.LogManager.Adapter = new Common.Logging.Simple.ConsoleOutLoggerFactoryAdapter(properties);
  </code></pre>
  
  <p>But if I try to launch it using the following configuration file, it blows up:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
      &lt;configSections&gt;
          &lt;sectionGroup name="common"&gt;
              &lt;section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" /&gt;
          &lt;/sectionGroup&gt;
      &lt;/configSections&gt;
  
      &lt;common&gt;
      &lt;logging&gt;
          &lt;factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4Net"&gt;
               &lt;arg key="configType" value="FILE-WATCH"/&gt;
              &lt;arg key="configFile" value="~/Log4NET.xml"/&gt;
          &lt;/factoryAdapter&gt;
      &lt;/logging&gt;
  &lt;/common&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>These are the relevant error messages:</p>
  
  <pre><code>{"Unable to cast object of type 'System.Configuration.DefaultSection' to type 'System.Configuration.AppSettingsSection'."}
  
  {"Failed obtaining configuration for Common.Logging from configuration section 'common/logging'."}
  </code></pre>
  
  <p>It seems to being unable to parse my configuration file, does anyone know what the correct format should be or is it something else that's wrong? I created my configuration file using <a href="http://netcommon.sourceforge.net/docs/2.1.0/reference/html/ch01.html#logging-usage">the official documentation</a>.</p>