In order to capture your Spring Boot logs to CloudWatch when running a Spring Boot app on AWS Elastic Beanstalk, ensure the ‘Log streaming’ config option is enabled:
![](https://i0.wp.com/www.kevinhooke.com/wp-content/uploads/2024/03/image.png?resize=525%2C132&ssl=1)
Edit this config and set to enabled then you’ll see the app logs in CloudWatch:
![](https://i0.wp.com/www.kevinhooke.com/wp-content/uploads/2024/03/image-1.png?resize=525%2C205&ssl=1)
Articles, notes and random thoughts on Software Development and Technology
In order to capture your Spring Boot logs to CloudWatch when running a Spring Boot app on AWS Elastic Beanstalk, ensure the ‘Log streaming’ config option is enabled:
Edit this config and set to enabled then you’ll see the app logs in CloudWatch: