You can integrate Azure Application Insights to your Spring Boot application: https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-spring-boot?source=recommendations
All you need is a dependency, a line in main method of your application to initiate the agent and the configuration properties that point to your Application Insights.
With that done, the Application Insights agent will auto-collect logs from Log4j2 and send them to Azure Application Insights. From there you can set up alerts and have better control on your logs.