Elmah忽略了ErrorFilter

| 我试图让Elmah忽略404错误,但它们不断出现。我正在使用asp.net mvc 3。 我有
  <elmah>
    <errorLog type=\"Elmah.SqlErrorLog, Elmah\" logPath=\"~/App_Data\" connectionStringName=\"ConnectionString\" applicationName=\"/\" />
      <errorFilter>
          <test>
              <equal binding=\"HttpStatusCode\" value=\"404\" type=\"Int32\" />
          </test>
      </errorFilter>
      <security allowRemoteAccess=\"0\" />
  </elmah>

   <sectionGroup name=\"elmah\">
      <section name=\"security\" requirePermission=\"false\" type=\"Elmah.SecuritySectionHandler, Elmah\" />
      <section name=\"errorLog\" requirePermission=\"false\" type=\"Elmah.ErrorLogSectionHandler, Elmah\" />
      <section name=\"errorMail\" requirePermission=\"false\" type=\"Elmah.ErrorMailSectionHandler, Elmah\" />
      <section name=\"errorFilter\" requirePermission=\"false\" type=\"Elmah.ErrorFilterSectionHandler, Elmah\" />
    </sectionGroup>
我想念什么吗?我使用nuget生成了web.config,所以我认为一切都在web.config中。     
已邀请:
        像这篇文章中的模块顺序可能有问题吗? ELMAH-过滤404错误     

要回复问题请先登录注册