About

Welcome to Allan's Ramblings!

Blogging about Technology and more.

Who am I?

Tag cloud

Archives

01 Mar - 31 Mar 2008
01 Apr - 30 Apr 2008
01 May - 31 May 2008
01 Jun - 30 Jun 2008
01 Aug - 31 Aug 2008
01 Sep - 30 Sep 2008
01 Oct - 31 Oct 2008
01 Nov - 30 Nov 2008
01 Feb - 28 Feb 2009
01 Jul - 31 Jul 2009
01 Aug - 31 Aug 2009
01 Oct - 31 Oct 2009

Calendar

« September 2010
S M T W T F S
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Links

The Active Network
Partners For Haiti
One Mile Clinic PNG

Search!

Last Comments

Allan Nienhuis (Cisco VPN for Win…): The Shrew.net client supp…
Allan Nienhuis (Cisco VPN for Win…): I updated the article wit…
Allan Nienhuis (Cisco VPN for Win…): I tried installing the sh…
allan (Javascript intell…): when MS ships Jquery with…

Stuff

Powered by Pivot - 1.40.5: 'Dreadwind' 
XML: RSS Feed 
XML: Atom Feed 

« Making sense of desig… | Home | Quality & Broken Wind… »

ELMAH - an Amazing asp.net error logging monitoring tool

24 04 09 - 14:35

I saw this referenced on Jeff Atwood's blog a little while ago and meant to pass it along to a few folks, and now I see that Scott Hanselman has just blogged about it as well. Scott's article is probably the best place to start. for more detailed information (I guess other than the project's site)

Here's the blurb from ELMAH'S site:  

 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.

I don't know about you, but this is very exciting for me - exactly the type of thing that I've been encouraging folks to somehow get onto their development schedules. Things like this help drive quality to the next level by not only giving you tools to diagnose problems better, they increase the visibility of problems by orders of magnitude. No longer are errors hidden away in some error log on the server which isn't easily accessed by the average dev. RSS feeds of the latest error reports to drop on your iGoogle homepage! That's the bomb! 

As with anything like this, be careful what you ask for, because you could easily be innundated with error reports to the point where you may have a hard time absorbing the information. But its a SUPER motivator to fix those seemingly benign issues that wind up generating the bulk of your exceptions... 

I'd love to hear about anyone's experience with this or similar tools, or if it inspires you to brew up something similar for your other (non .net) projects.


No comments

  
Remember personal info?

Emoticons / Textile


 

  (Register your username / Log in)

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.