Issue
Hello I have created a new elastic beanstalk environment where I am running a java web app with tomcat. When I try to use System.out.println in my doPost function it is not printing to the elastic beanstalk logs. My other environment does print to the logs though. Is there something I might be missing here?
Solution
Based on the comments.
The issue was that the new EB env used were based on Amazon Linux 2 (AL2) platform, while the existing applications are using AL1.
Since there are a lot of differences in how EB based on AL1 and AL2 work, the easiest solution was to deploy the new application on AL1, instead of AL2.
Answered By - Marcin
Answer Checked By - Cary Denson (JavaFixing Admin)