views:

41

answers:

3

ELMAH is purpose-built for logging exceptions in ASP.Net, which is fine, but it does leave a lot of people (myself included) wanting to solve the same all-encompassing exception logging/viewing problem for non-web applications.

Do you know of any open source components for general purpose exception logging and reporting in the vein of ELMAH?

+1  A: 

There is the logging application block from Microsoft, as well as the apache foundation log4net.

Both are open source and free.

log4net is stand alone and simpler to understand, the application block is part of several application blocks that work together (though can work separately) and is in my opinion more complex.

Oded
+1  A: 

There is a website called Exceptioneer. Once integrated into your app, all exceptions are sent to heir website whereyou can log in and view them - which is perfect if an off-site customer has an issue.

Alternatively, there is log4net or NLog - the latter being the one I prefer.

Simon Bartlett
A: 

There are several logging frameworks available. Our company used two different ones before switching to the object guy's. Personally, I find it to be much more straight forward to use than the others. YMMV.

The same author also offers a separate service you might be interested in that allows you to collect and view logs from applications. We have not used this service yet, so I can't comment further on it. But it does look interesting and probably very useful for some people.

Pedro