Logging

Logging is the process in which trees are cut down for forest management andimage timber. Logging is controversial due to its potential environmental and aesthetic impacts. 

I am going to talk about other one, the one that is vital, helpful, and has positive impacts. Software logging.

Hosted projects are easier in terms of debugging and tracing issues - you have got all the control in case you are the host. Though in some cases even the fact that you hosting the application does not help. Then troubleshooting becomes painful if not impossible.

This is where Diagnostics Trace class was helpful to provide the data that would help to resolve an issue or two. But for the logging part - it wasn't the best tool out there. So I have decided to have a look at what others are using, and quite a dominant candidate was log4net OSS component. Any objections?

2 Comments

  • Try using Enterprise Library Logging App block.

    I have used both in my projects, I find Enterprise lib much better.

    Try it out!!!

    Thanks,
    Yash

  • I concur with Yash, the enterprise library logging app block is very powerful and not too difficult to get set up. While it's not really Open Source from a community contrib standpoint, the source is available.

    I have not dug into the code for log4net, I used it once a number of years ago, it seems fine too, but I really like the power and configurability of the entlib block. Also, if you are using entlib exception handling, it integrates really nicely.

Comments have been disabled for this content.