title: "log4net:ERROR XmlHierarchyConfigurator: Cannot find Property [evaluator] to set object on [log4net.Appender.RollingFileAppender]"
body: <p>Am getting below error from log4net configuration even though the evaluator property available in the configuration file. Could you please help on this?</p>
  
  <p>Error:</p>
  
  <p>log4net:ERROR XmlHierarchyConfigurator: Cannot find Property [evaluator] to set object on [log4net.Appender.RollingFileAppender]</p>
  
  <p>Configuration:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt; &lt;configuration&gt;   &lt;log4net&gt;
      &lt;appender name="logFileError" type="log4net.Appender.RollingFileAppender,log4net"&gt;
        &lt;file value="C:\Users\E0433988\Documents\Logs\Wrapper\Error.log"/&gt;
        &lt;appendToFile value="true"/&gt;
        &lt;maximumFileSize value="100KB"/&gt;
        &lt;maxSizeRollBackups value="2"/&gt;
        &lt;rollingStyle value="Date"/&gt;
        &lt;datePattern value="_yyyy_MM_dd"/&gt;
        &lt;maxSizeRollBackups value="30"/&gt;
        &lt;staticLogFileName value="true"/&gt;
        &lt;evaluator type="log4net.Core.LevelEvaluator"&gt;
          &lt;threshold value="ERROR"/&gt;
        &lt;/evaluator&gt;
        &lt;filter type="log4net.Filter.LevelMatchFilter"&gt;
          &lt;levelToMatch value="ERROR"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.DenyAllFilter"/&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date %-5level %thread %logger - %message%newline"/&gt;
        &lt;/layout&gt;
      &lt;/appender&gt;
      &lt;appender name="logInfo" type="log4net.Appender.RollingFileAppender,log4net"&gt;
        &lt;file value="C:\Users\E0433988\Documents\Logs\Wrapper\Info.log"/&gt;
        &lt;appendToFile value="true"/&gt;
        &lt;maximumFileSize value="100KB"/&gt;
        &lt;maxSizeRollBackups value="2"/&gt;
        &lt;rollingStyle value="Date"/&gt;
        &lt;datePattern value="_yyyy_MM_dd"/&gt;
        &lt;maxSizeRollBackups value="30"/&gt;
        &lt;staticLogFileName value="true"/&gt;
        &lt;evaluator type="log4net.Core.LevelEvaluator"&gt;
          &lt;threshold value="INFO"/&gt;
        &lt;/evaluator&gt;
        &lt;filter type="log4net.Filter.LevelMatchFilter"&gt;
          &lt;levelToMatch value="INFO"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.DenyAllFilter"/&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date %-5level %thread %logger - %message%newline"/&gt;
        &lt;/layout&gt;
      &lt;/appender&gt;
      &lt;appender name="logDebug" type="log4net.Appender.RollingFileAppender,log4net"&gt;
        &lt;file value="C:\Users\E0433988\Documents\Logs\Wrapper\Debug.log"/&gt;
        &lt;appendToFile value="true"/&gt;
        &lt;maximumFileSize value="100KB"/&gt;
        &lt;maxSizeRollBackups value="2"/&gt;
        &lt;rollingStyle value="Date"/&gt;
        &lt;datePattern value="_yyyy_MM_dd"/&gt;
        &lt;maxSizeRollBackups value="30"/&gt;
        &lt;staticLogFileName value="true"/&gt;
        &lt;evaluator type="log4net.Core.LevelEvaluator"&gt;
          &lt;threshold value="DEBUG"/&gt;
        &lt;/evaluator&gt;
        &lt;filter type="log4net.Filter.LevelMatchFilter"&gt;
          &lt;levelToMatch value="DEBUG"/&gt;
        &lt;/filter&gt;
        &lt;filter type="log4net.Filter.DenyAllFilter"/&gt;
        &lt;layout type="log4net.Layout.PatternLayout"&gt;
          &lt;conversionPattern value="%date %-5level %thread %logger - %message%newline"/&gt;
        &lt;/layout&gt;
      &lt;/appender&gt;
      &lt;appender name="logWarn" type="log4net.Appender.RollingFileAppender,log4net"&gt;
          &lt;file value="C:\Users\E0433988\Documents\Logs\Wrapper\Warn.log"/&gt;
          &lt;appendToFile value="true"/&gt;
          &lt;maximumFileSize value="100KB"/&gt;
          &lt;maxSizeRollBackups value="2"/&gt;
          &lt;rollingStyle value="Date"/&gt;
          &lt;datePattern value="_yyyy_MM_dd"/&gt;
          &lt;maxSizeRollBackups value="30"/&gt;
          &lt;staticLogFileName value="true"/&gt;
          &lt;evaluator type="log4net.Core.LevelEvaluator"&gt;
              &lt;threshold value="WARN"/&gt;
          &lt;/evaluator&gt;
          &lt;filter type="log4net.Filter.LevelMatchFilter"&gt;
              &lt;levelToMatch value="WARN"/&gt;
          &lt;/filter&gt;
          &lt;filter type="log4net.Filter.DenyAllFilter"/&gt;
          &lt;layout type="log4net.Layout.PatternLayout"&gt;
              &lt;conversionPattern value="%date %-5level %thread %logger - %message%newline"/&gt;
          &lt;/layout&gt;
      &lt;/appender&gt;
      &lt;root&gt;
        &lt;level value="DEBUG"/&gt;
        &lt;appender-ref ref="logFileError"/&gt;
        &lt;appender-ref ref="logInfo"/&gt;
        &lt;appender-ref ref="logDebug"/&gt;
        &lt;appender-ref ref="logWarn"/&gt;
      &lt;/root&gt;   &lt;/log4net&gt; &lt;/configuration&gt;
  </code></pre>