net 4 in C# with SQL Server 2008 R2.
I need to choose an error logging solution for my Web Application.
I read some article ELMAH and ASP.NET Health Monitoring on the topic but I would like have your opinion and thoughts on which system you prefers in your a real world application and why.
Some point in which I’m interested:
- setup and configuration
- error reports
- performance
ASP.NET Health Monitoring is not a logging solution. According to ASP.NET Health Monitoring overview:
ASP.NET health monitoring enables you to do the following tasks:
The level of required configuration depends on what you need to accomplish. For several of my applications, all we need is:
This enables health monitoring and adds application lifetime events to those events collected by default. This way, we know when an application starts and stops, and why.
Note that we didn’t have to touch any code to get this functionality.