title: Avoid logs full of java.io.IOException: Broken pipe
body: <p>I am using Server-Sent events on one browser, and a spring boot application on the back end. When I shot down the client, I get the next exception:</p>
  
  <pre><code>14:35:09.458 [http-nio-8084-exec-25] ERROR o.a.c.c.C.[Tomcat].[localhost] - Exception Processing ErrorPage[errorCode=0, location=/error]
  org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
  </code></pre>
  
  <p>I understand this is the expected behavior; on the other hand, my application works fine, but I have awful logs full of those exceptions. I guess this is caused by Tomcat. Is there a way to catch these exceptions, or at least to prevent Tomcat from writing this exception stack trace to the log? I mean, without modifying Tomcat's code.</p>