开发者

is there any log for unhandled exceptions throwed by ASP.net applications

As title. I noticed that IIS will return 5开发者_如何学JAVA00 error, but is there any other log in the IIS side?


check this one, ELMAH: Error Logging Modules and Handlers.


Asp.net will also post an error to the application event log, but your better off using elmah or some other way of handling the exceptions.


You can also enable Failed Request Tracing. Example and instructions here.


You can always use Health Monitoring. It is flexible, and provided out-of-the box. You just need to configure it.

http://www.asp.net/hosting/tutorials/logging-error-details-with-asp-net-health-monitoring-cs

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜