Elmah – asp.net error log and reporting module
Today I would like to talk about error reporting and logging.
We always like to know what’s going on with all your web applications, or our clients as soon as possible, not only know the error, but sometimes, if we are able to see the full exception stack, and may be see the screen the user saw when that error occured, so we can proactively seek solutions.
For that we use Elmah. Elmah is just an awesome pluggable Module, that easily be plugged to your asp.net website, quickly, without having to change any code.
It provides many reporting capabilities, and recently twitter was added as one of the reporting options, which I thought is very nice option to have.
Now I would like to thank Atif Aziz the project owner, for a great module and a great work..
It is totally free and open source.
Here are some other features:
- 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.
I always configure the log files, to be reviewed with an admin role,
and emails to be sent when exceptions occured.
Here is a screenshot for elmah in action:

Please drop me a line if you need any help, with Elmah setup.
I have used it in many of our projects, and it is GREAT…
I have seen many tutorials but the following are the ones that I liked the most,
and I thought they were the most helpful:
Please post any comments or questions you might have in regards to elmah.
and more!

