title: Configure log4net to send errors to different appenders based on level
body: <p>I want to send Info Level &amp; above to the XML appender and Error/Fatal Level to the EventLog appender.</p>
  
  <p>I gather that I need to modify the root element of the config but I'm struggling with the syntax. What is the configuration syntax to direct logs to the correct appender for a given level or range of levels?</p>
  
  <p>This is the configuration so far:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;log4net&gt;
    &lt;appender name="SomeXmlAppender" type="log4net.Appender.RollingFileAppender"&gt;
      ...
    &lt;/appender&gt;
    &lt;appender name="SomeEventLogAppender" type="log4net.Appender.EventLogAppender"&gt;
      ...
    &lt;/appender&gt;
    &lt;root&gt;
      &lt;level value="DEBUG" /&gt;
      &lt;appender-ref ref="SomeXmlAppender" /&gt;
      &lt;appender-ref ref="SomeEventLogAppender" /&gt;
    &lt;/root&gt;
  &lt;/log4net&gt;
  </code></pre>
  
  <p>Edit: Thanks @agileguy. That post did indeed contain the syntaxt I needed. The working solution now looks like this:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;log4net&gt;
    &lt;appender name="SomeXmlAppender" type="log4net.Appender.RollingFileAppender"&gt;
      ...
      &lt;evaluator type="log4net.Core.LevelEvaluator"&gt;
        &lt;threshold value="INFO"/&gt;
      &lt;/evaluator&gt;
      &lt;filter type="log4net.Filter.LevelRangeFilter"&gt;
        &lt;levelMin value="INFO" /&gt;
        &lt;acceptOnMatch value="true" /&gt;
      &lt;/filter&gt;
      &lt;filter type="log4net.Filter.DenyAllFilter" /&gt;
    &lt;/appender&gt;
    &lt;appender name="SomeEventLogAppender" type="log4net.Appender.EventLogAppender"&gt;
      ...
      &lt;evaluator type="log4net.Core.LevelEvaluator"&gt;
        &lt;threshold value="ERROR"/&gt;
      &lt;/evaluator&gt;
      &lt;filter type="log4net.Filter.LevelRangeFilter"&gt;
        &lt;levelMin value="ERROR" /&gt;
        &lt;acceptOnMatch value="true" /&gt;
      &lt;/filter&gt;
      &lt;filter type="log4net.Filter.DenyAllFilter" /&gt;
    &lt;/appender&gt;
    &lt;root&gt;
      &lt;level value="DEBUG" /&gt;
      &lt;appender-ref ref="SomeXmlAppender" /&gt;
      &lt;appender-ref ref="SomeEventLogAppender" /&gt;
    &lt;/root&gt;
  &lt;/log4net&gt;
  </code></pre>