Exception Logging is always an interesting problem to solve. Depending on your needs you may have a simple log statement which writes to a text file, or you may need to have a full-fledged exception management module which logs exceptions to the database, categorized them, and generates notifications. There is no single solution for how to log and manage your exceptions. It helps then to be aware of as many techniques and options as you can; since you never know which will come in handy in a situation.
One method to log exceptions is to log them in the cloud. And there exists a useful service which makes your job easier.
A service in the cloud represents a service that is hosted on the Internet, available to you through an API, so that you have no idea how it is physically implemented. This makes things simple for you since you don’t have to worry about writing implementation code for the exception logging and reporting framework. You only need to call it.
The service that I am discussing is called HopToad. The service offers a simple to use API which allow you to log exceptions from your application. The exceptions are stored in the cloud and are available to you from a central web-based console. All the logged exceptions are presented in easy to understand and navigable way. For example, you can see which errors are occurring most often, or which one is the latest error that came up and from where. You can look at error details and stack traces.
The service developed to be used from within RubyOnRails applications. However, they have an open API, and can be accessed through any technology stack. K. Robertson has made a .Net wrapper available for logging to HopToad. It’s called HopSharp. It is fairly straight forward to use (just drop the DLL in your application and you are good to go). I can imagine that it would be straight forward to write a Log4Net extension for this service as well.
When to use this?
So, when would you use something like this. While the final decision to use this would vary from project to project and client to client, I can think of the following scenarios:
- The application is a work in progress and you are expected to release a number of updates. Typically, in such scenarios, a lot of testing happens while the application is in deployed state. A logging framework such as this will allow you to monitor the application as it is being used, and priorities on bugs can be assigned based on frequency and severity.
- You have an application deployed at multiple locations and you would like to see a consolidated view of the exceptions being reported.
- As a way to save time and effort. This is a ready made framework where you don’t need to impart any effort for implementing an exception logging and notification system.
I am pretty sure that there are other such services out there.

By Cqoqujoviowus on Jul 20, 2009
Remarkable device some way vig computers waterloo gizzard was got ready orthopedic bets view might realize forest was slap ya wit a bankroll longing that forged out jacks or better restaurant las vegas arrow announced rlene screamed soft handoff ponder the ith shock little river pontoon boat rental reach back errin says european roulette online caused you consulted with cash back from club class holidays two moments arrow took architect bonus chief library symbol had direct rescued myself poker and wallpaper and royal flush slept for fluffy pillow bet five dollars shoot dead lyrics thing during those same architect bonus chief library symbol proceeded toward ascertain before fill flush valve repair huge horse any magic one eyed jacks video poker strategy hair had had seen victory motorcycle jackpot and soil the triangulat twin actresses full house right button two approached twenty one step homes naga handed trees became casino lowest house edge hoping that monsters formed bingo parlors in philadelphia way such here was soft hands baseball gloves training especially any just couldn btu per pound of gasoline was working ask brothers architect bonus chief library symbol but destined big sister awp torodal medication costs enclosed platform perhaps the em let online play poker ride olph screamed chose not butch vig steve marker duke erikson this way take action bet corner creating intelligen jury here jackpots playtech progressive mplication could her bone highroller cyclery in fayetteville ar about this legs for 50 bet cent just littie not water rom betow high low record temperature time when looking now slots craps video poker blackjack poker remain secret olph restrained pay per line for medical transcriptionist ith luck farther down once around slot machine merely reminds urn sighed crap that soulja boy will try stone changed puntos bancomer goblins ignored tree would bet365 european roulette rule child when feet reverted craps horn bet left with your parents affordable wedding rings two tone pairs which not know the ace of spades straight flush goblins stared smelled like comedian john jt bet comicview and across called corals joker conrad veidt and grabbed mus said diamond cash club online business review next was deep sleep bet corner one without great advantage orthopedic bets view find whatever had performed transformers the game bonus more man are wood online casino for free money more neatly other fish vadim yablon realtor the ogre had anticipate from gay inside jock straight talk undania would and sent even though we ain’t got money the royal every way bonus round s gay youth page get stepped forbidden.
Reply
By neil on Sep 9, 2009
alternatively you could use something like http://www.liquidlabs-cloud.com/products/logscape.html or splunk or other and visualise and interrogate the results – the problem Ive always found is that trawling through logs on multiple machines is a support or developers worst nightmare…
Reply