live wid knowledge :)

Apache log4net vs Mircosoft Logging Application Block

Microsoft Logging Application Block (MLAB)

Apache Log4net (AL4N)

  • MLAB provides user friendly configuration tool but AL4N doesn’t
  • MLAB provides more specific code as well as framework version is concern but AL4N doesn’t
  • AL4N provides hierarchical logs maintenance but MLAB doesn’t
  • AL4N tool doesn’t restarts the web app on configuration change but MLAB does

but most important AL4N is much much much much faster than MLAB and more then most important i recommend so use it ;)

Comments

Anonymous said:

Interesting conclusions.  According to blogs.claritycon.com/.../184.aspx, the Logging Block is faster.  Also, your point about the Logging Block causing a web app to be restarted isn't exactly correct.  Any tool which stores its config in the default Web.config does this, but the Logging Application Block can be configured to be used with a separate config file, or a separate configuration source can be set up through the config tool.  So, that pairs down your list to hierarchical log maintenance, but I think the Logging Block's concept of logging categories is much more intuitive (another + for LAB, - for L4N).

# March 12, 2009 12:04 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)