Logging in ASP.NET
Is there any logge开发者_运维知识库r to asp.net like the System.ServiceModel.MessageLogging used in WCF?
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.
You could use log4net for this... log4net Website
Not sure what you are actually asking for. There is ASP.NET tracing and trace.axd handler to browsing traces.
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.
精彩评论