How to configure SERVICE TRACE VIEWER in WCF?
Configuring Service trace viewer can be very easily done. Add the following section in the web.config file to setup trace viewer 1. Add diagnostics section inside system.serviceModel <diagnostics> <messageLogging logEntireMessage =" true " logMalformedMessages =" true " logMessagesAtServiceLevel =" true " logMessagesAtTransportLevel =" true " maxMessagesToLog =" 2147483647 " maxSizeOfMessageToLog =" 2147483647 " /> </diagnostics> 2. Add diagnostics section inside configuration <system.diagnostics> <sources> <source name =" System.ServiceModel.MessageLogging " switchValue =" Information,ActivityTracing "> <listeners> <add name =" ServiceModelMessageLoggingListener "> ...