Friday, July 20, 2018
Exclude ELMAH 404 errors reporting
Recently we have faced a situation that receiving lots of 404 errors for a xx\xx path not found due to vulnerabilities scan software run against our web application. Since these errors raised by vulnerabilities scan software , we no need to concern and not required to log . So we decided to stop ELMAH reporting this error.
I have done some analysis to find the best way to exclude these types of errors from being reporting. Here is the working solution I made with simple configuration changes in the <elmah> section of web.config as specified below
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment