WCF Tracing and Message Logging
===============================

Windows Communication Foundation (WCF) Service Trace Viewer Tool (SvcTraceViewer.exe) helps you analyze diagnostic traces that are generated by WCF.
http://learn.microsoft.com/en-us/dotnet/framework/wcf/service-trace-viewer-tool-svctraceviewer-exe

The tracing level is controlled by the switchValue setting. The available tracing levels are described in the following table.

Trace Level	Description
-----------------------
Critical	
- Logs Fail-Fast and Event Log entries, and trace correlation information. The following are some examples of when you might use the Critical level:
- Your AppDomain went down because of an unhandled exception.
- Your application fails to start.
- The message that caused the failure originated from the process MyApp.exe.

Error	
- Logs all exceptions. You can use the Error level in the following situations:
- Your code crashed because of an Invalid Cast Exception.
- A "failed to create endpoint" exception is causing your application to fail on startup.

Warning	
- A condition exists that may subsequently result in an error or critical failure. You can use this level in the following situations:
- The application is receiving more requests than its throttling settings allows.
- The receiving queue is at 98 percent of its configured capacity.

Information	
- Messages helpful for monitoring and diagnosing system status, measuring performance, or profiling are generated. You can utilize such information for capacity planning and performance management. You can use this level in the following situations:
- A failure occurred after the message reached the AppDomain and was deserialized.
- A failure occurred while the HTTP binding was being created.

Verbose	
- Debug-level tracing for both user code and servicing. Set this level when:
- You are not sure which method in your code was called when the failure occurred.
- You have an incorrect endpoint configured and the service failed to start because the entry in the reservation store is locked.

ActivityTracing	

Flow events between processing activities and components.

This level allows administrators and developers to correlate applications in the same application domain.

- Traces for activity boundaries: start/stop.
- Traces for transfers.
