Is there any logger to asp.net like the System.ServiceModel.MessageLogging used in WCF?
Yes, log4net is very commonly used in .NET because of its flexibility and unobtrusiveness.
Daniel Dyson
2010-09-01 12:14:18
+1
A:
Not sure what you are actually asking for. There is ASP.NET tracing and trace.axd handler to browsing traces.
Ladislav Mrnka
2010-09-01 12:07:05
+2
A:
There is health monitoring: http://msdn.microsoft.com/en-us/library/ff650305.aspx. It has a bunch of predefined events, plus you can create your own custom events for tracking purposes.
Brian
2010-09-01 12:09:05
I actually need to log all requests and responses as is done in WCF, but the Health Monitoring is help me anywaytanks everybody!
Adriano Zawadzki
2010-09-01 12:40:41
The Health Monitoring system is your best pick here, because it is the only system that directly supports getting information on a per request basis (through the `WebRequestEvent` class).
Steven
2010-09-01 13:06:34
The .NET framework is integrated with it too; it will log key ASP.NET framework events that occur within the system too. It's pretty powerful.
Brian
2010-09-01 16:00:30
+1
A:
After having used it myself, I'd like to suggest ELMAH:
ELMAH (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable. It can be dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for re-compilation or re-deployment.
Shogun
2010-09-01 12:41:27