开发者

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

开发者 https://www.devze.com 2023-01-26 00:47 出处:网络
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 erro

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

精彩评论

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