...
- Open the Web.config of Congree Bulk Check Service. The default path is C:\Program Files (x86)\Congree Language Technologies GmbH\Congree Bulk Check Service\Web.config.
- Find <system.serviceModel>
- Inside of <system.serviceModel> find <diagnostics>
- If it exists, remove <diagnostics> and all of its content
Insert
Codeblock <diagnostics> <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" maxSizeOfMessageToLog="65535000"/> </diagnostics>
- Find <system.diagnostics>
- Inside of <system.diagnostics> find <sharedListeners>
Add
Codeblock <add name="WcfTraceListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData="c:\ProgramData\Congree Language Technologies GmbH\Log\Congree Bulk Check_WCF.svclog"> <filter initializeData="All" type="System.Diagnostics.EventTypeFilter"/> </add>
- Inside of <system.diagnostics> find <sources>
Add
Codeblock <source name="System.ServiceModel.MessageLogging" switchValue="Verbose"> <listeners> <add name="WcfTraceListener"/> </listeners> </source>
...
If you want to also log WCF internals you can additionaly follow those steps:
- Find <system.diagnostics>
- Inside of <system.diagnostics> find <sources>
Add
Codeblock <source name="System.ServiceModel" switchValue="Verbose"> <listeners> <add name="WcfTraceListener"/> </listeners> </source>
...