why doesn’t springboot work on aws elasticbeanstalk?

This was problem in our java spring application. Wrong devel configuration. In application.properties was this line


I didn’t notice that at first sight. In application-production.properties wasn’t anything about logging therefore this configuration affected production, and all logs was written to this file (wrong path because on aws eb(tomcat) is directory for logging logs/ not log/). That’s why I cannot see logs on standard log path less /var/log/tomcat/

I changed in application-production.properties to


and that is. It works now.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top