开发者

Logging in ASP.NET

开发者 https://www.devze.com 2023-01-13 19:51 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消