Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

  1. 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.
  2. Find <system.serviceModel>
  3. Inside of <system.serviceModel> find <diagnostics>
  4. If it exists, remove <diagnostics> and all of its content
  5. Insert

    Codeblock
    <diagnostics> 
        <messageLogging  
             logEntireMessage="true"  
             logMalformedMessages="true" 
             logMessagesAtServiceLevel="true"  
             logMessagesAtTransportLevel="true" 
             maxMessagesToLog="3000" 
             maxSizeOfMessageToLog="65535000"/> 
      </diagnostics> 


  6. Find <system.diagnostics>
  7. Inside of <system.diagnostics> find <sharedListeners>
  8. 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>


  9. Inside of <system.diagnostics> find <sources>
  10. 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:

  1. Find <system.diagnostics>
  2. Inside of <system.diagnostics> find <sources>
  3. Add

    Codeblock
    <source name="System.ServiceModel" switchValue="Verbose">        
    	<listeners>
              <add name="WcfTraceListener"/>
        </listeners>
    </source>


...