你的ASP.NET程序有Error Logging的功能吗?今天看到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.
Once ELMAH has been dropped into a running web application and configured appropriately, you get the following facilites without changing a single line of your code:
- Logging of nearly all unhandled exceptions.
- A web page to remotely view the entire log of recoded exceptions.
- A web page to remotely view the full details of any one logged exception.
- In many cases, you can review the original yellow screen of death that ASP.NET generated for a given exception, even with customErrors mode turned off.
- An e-mail notification of each error at the time it occurs.
- An RSS feed of the last 15 errors from the log.
- A number of backing storage implementations for the log, including in-memory, Microsoft SQL Server and several contributed by the community.
ELMAH是一个用于ASP.NET应用的错误日志模块,它可以在不重新编译或部署的情况下动态添加到运行中的Web应用程序中。ELMAH提供几乎所有的未处理异常的日志记录功能,能够远程查看异常日志详情,并且支持邮件通知和RSS订阅等功能。
5641

被折叠的 条评论
为什么被折叠?



