title: Direct logback logs to graylog
body: <p>I have a <strong>third party</strong> java application which uses logback for logging.</p>
  
  <p>I want to add a Socket Appender to the application's logback.xml as specified in the documentation
  (<a href="https://logback.qos.ch/manual/appenders.html" rel="nofollow noreferrer">https://logback.qos.ch/manual/appenders.html</a>)</p>
  
  <pre><code>&lt;configuration debug="true"&gt;
    &lt;appender name="SERVER" 
      class="ch.qos.logback.classic.net.server.ServerSocketAppender"&gt;
      &lt;port&gt;${port}&lt;/port&gt;
      &lt;includeCallerData&gt;${includeCallerData}&lt;/includeCallerData&gt;
    &lt;/appender&gt;
  
    &lt;root level="debug"&gt;
      &lt;appender-ref ref="SERVER" /&gt;
    &lt;/root&gt;  
  
  &lt;/configuration&gt;
  </code></pre>
  
  <p>The purpose is to direct the logs to graylog using udp end point.
  Is there a way to send the logs using the <strong>UDP protocol</strong> ?</p>
  
  <p>Thanks for your time.</p>