Investigate correct use of WCF tracing

Adam van Vliet 13 years ago updated by anonymous 9 years ago 2

I noticed on that the attribute used in our WCF trace configuration switchValue is not mentioned on MSDN http://msdn.microsoft.com/en-us/library/ms229547(v=VS.90).aspx.

Please investigate and either provide similar functionality, or provide alternative.



While this article doesn't mention the switchValue attribute, one of the comments notes that it should be documented. It is shown in various other documentation, such as http://msdn.microsoft.com/en-us/library/aa702726.aspx. It is used to configure the logging level of the trace. As we have it commented out and suggest it only be used for debugging purposes, I believe our current setting of Information is appropriate, although it may be worthwhile providing the above link as a reference (which I have already done to IDB40:Enabling WCF logging). Please confirm if this is appropriate.