1. Add the filter config section data
<?xml version="1.0"?>
<configuration>
 <elmah2>
    <filters>
      <filter Type="elmah2.StatusCodeFilter.HttpStatusCodeFilter, elmah2.StatusCodeFilter" StatusCode="500" />
    </filters>
  </elmah2>
</configuration>
  • The status code attribute is the codes to filter out and not log, seperate multiples by a ;

Last edited Jun 16, 2010 at 1:44 AM by iamkrillin, version 3

Comments

No comments yet.