I have a spring boot application, which runs on AWS EC2 instances.
The deployable is just a jar that has tomcat embedded in it.
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.
I have tried https://logback.qos.ch/access.html, but it does not work with syslog due to this issue: https://jira.qos.ch/browse/LOGBACK-317
Then I tried CommonsRequestLoggingFilter, this does not seem to send its logs to syslog.
I guess trying to send logs to syslog with Spring boot application is not a rare desire.
Is there any comprehensive way to do this?