title: unable to get log4net to use WebServiceAppender from crm 2011
body: <p>I have attempted to use a log4net webserviceappender from within a crm 2011 plugin (sandboxed), log4net apparently gets installed along with the plugin correctly (exception if log4net config file is malformed), but apparently the appender doesn't get called.  I can call the webservice directly from within the plugin, so that part is working, but can't figure out what might be wrong with log4net.  </p>
  
  <p>Does anyone know of a step by step for using log4net with crm and/or have a good idea as to why the webserviceappender doesn't get called?</p>
  
  <p>Thanks</p>
  
  <p>EDIT: Including log4net.config file upon request.</p>
  
  <p>
    
      
        
        
          
          
        </p>
  
  <pre><code>  &lt;!-- WebService parameters. --&gt;
    &lt;param name="Url" value="http://my-internal-server/errorlog/ErrorHandler.asmx" /&gt;
    &lt;param name="TimeoutSeconds" value="60" /&gt;
  
    &lt;!-- Proxy parameters. --&gt;
    &lt;param name="UseProxy" value="false" /&gt;
    &lt;param name="ProxyUrl" value="http://myproxy:3128" /&gt;
    &lt;param name="ProxyBypassOnLocal" value="true" /&gt;
    &lt;param name="ProxyUseDefaultCredentials" value="true" /&gt;
    &lt;param name="ProxyCredentialsDomain" value="OFFICE" /&gt;
    &lt;param name="ProxyCredentialsUserName" value="MyUser" /&gt;
    &lt;param name="ProxyCredentialsPassword" value="MyPassword" /&gt;
  &lt;/appender&gt;
  
  &lt;root&gt;
    &lt;level value="Info" /&gt;
    &lt;appender-ref ref="WebServiceAppender" /&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p></p>