title: WCF logging not logging SOAP request
body: <p>I know this has been asked multiple times and i might have read them all including MSDN ones. Looks like my scenario is a bit different. I think i have setup eveything including the system.serviceModel node, system.diagnostics and the permission. But it only logs the one that says "Get configuration section". What i want is the XML that i pass (including the security headers) to the web service. It generated the svclog file so looks like i have permission (after i granted EVERYONE full access) but it only contains this:</p>
  
  <p><a href="https://i.stack.imgur.com/di3dR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/di3dR.png" alt="enter image description here"></a></p>
  
  <p>Here's my config</p>
  
  <pre><code>&lt;source propagateActivity="true" name="System.ServiceModel" switchValue="Information, ActivityTracing"&gt;
      &lt;listeners&gt;
        &lt;add name="ServiceModelMessageLoggingListener" /&gt;
      &lt;/listeners&gt;
    &lt;/source&gt;
    &lt;source name="System.ServiceModel.MessageLogging"&gt;
      &lt;listeners&gt;
        &lt;add name="ServiceModelMessageLoggingListener" /&gt;
      &lt;/listeners&gt;
    &lt;/source&gt;
  &lt;/sources&gt;
  &lt;sharedListeners&gt;
    &lt;add initializeData="c:\logs\Traces.svclog" type="System.Diagnostics.XmlWriterTraceListener"
      name="ServiceModelMessageLoggingListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack"&gt;
    &lt;/add&gt;
  &lt;/sharedListeners&gt;
  
  &lt;system.serviceModel&gt;
  &lt;services&gt;
    &lt;service name="System.ServiceModel"&gt;
      &lt;endpoint address="&lt;webservice url&gt;" binding="basicHttpBinding" contract="&lt;contract name from ServiceContractAttribute&gt;"&gt;&lt;/endpoint&gt;
      &lt;endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"  /&gt;
    &lt;/service&gt;
  &lt;/services&gt;
  &lt;diagnostics&gt;
    &lt;messageLogging logEntireMessage="true" logKnownPii="true" logMalformedMessages="true"
      logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" /&gt;
    &lt;endToEndTracing propagateActivity="true" activityTracing="true"
      messageFlowTracing="true" /&gt;
  &lt;/diagnostics&gt;
  &lt;behaviors&gt;
    &lt;serviceBehaviors&gt;
      &lt;behavior&gt;
        &lt;serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>Spent all day tweaking the config and the permissions. What else could i be missing?</p>