title: How to Override Client Side Soap Logging - Spring Boot
body: <p>I'm consuming a soap webservice inside a spring boot application. The response/request logging is too big, because of one attribute which is too large. So I want to intercept that logging and remove the offending attribute.</p>
  
  <p>I've been messing about with SoapEnvelopeLoggingInterceptor, but i think that is just for Server side logging. It will not get picked up.</p>
  
  <p>I have configured my soap logging inside yml as follows:</p>
  
  <pre><code>logging:
    pattern:
      ...
    level:
      ...
      org.springframework.ws.client.MessageTracing.sent: TRACE
      org.springframework.ws.client.MessageTracing.received: TRACE
      org.springframework.ws.server.MessageTracing: DEBUG
  </code></pre>
  
  <p>That works fine for logging both request and response, but I need to remove a very large problematic attribute from the envelope. Any ideas?</p>