We have a asp.net application and want to implement logging.
The first idea was to use the Application_Error method in the global.asax file.
The problem is that ASP.NET very often seem to throw exceptions internally that are not caused by the application and which seem not to interfer with the users normal workflow.
For example we often get HTTPExceptions, UnauthorizedAccessExceptions and others caught in this method, although there is no real error in the application.
It seems there is no way. Most Exceptions occur because the client requests files which are not available on the server (“favicon..”).