title: Spring boot application with embedded tomcat, send access logs to syslog
body: <p>I have a spring boot application, which runs on AWS EC2 instances.</p>
  
  <p>The deployable is just a jar that has tomcat embedded in it.</p>
  
  <p>I am trying to get the application to send its access log to syslog so that I can use AWS CloudWatch to collect logs from different EC2 instances.</p>
  
  <p>I have tried <a href="https://logback.qos.ch/access.html" rel="nofollow noreferrer">https://logback.qos.ch/access.html</a>, but it does not work with syslog due to this issue: <a href="https://jira.qos.ch/browse/LOGBACK-317" rel="nofollow noreferrer">https://jira.qos.ch/browse/LOGBACK-317</a></p>
  
  <p>Then I tried CommonsRequestLoggingFilter, this does not seem to send its logs to syslog.</p>
  
  <p>I guess trying to send logs to syslog with Spring boot application is not a rare desire.</p>
  
  <p>Is there any comprehensive way to do this?</p>