My latest best friends

WCF, Unity and log4net...they are all awesome tools..and of course, since I have been developing in C# for a while now I need to add it to my list.




  • How do you reconcile log4net with WCF? WFC has some pretty capable logging hooks, but they play nicest with EntLib logging. EntLib logging is so flexible I hang myself with it, and so would prefer to use something simpler like log4net. But aren't the two at odds? I don't want to have to maintain configuration for TWO logging systems.

  • Unfortunately i do not have a good answer. We Implement IErrorHandler and call our logger inside the HandleError override.

Comments have been disabled for this content.