After upgrade Java app to Spring Boot 4 and Java 25, the “Configure Logging Levels” button on the App Manager logs tab is no longer visible.
However, for apps built with SpringBoot 3.x and Java 17, the button is present.
Spring Boot 4
Starting with Spring Boot 4, Cloud Foundry-specific functionality has been modularised and no longer automatically enabled by the presence of Actuator alone.
The Cloud Foundry actuator integration including the /cloudfoundryapplication endpoint and its associated CORS handling is now provided by a separate Spring Boot module.
If your application doesn’t include the Cloud Foundry starter: spring-boot-starter-cloudfoundry
The “Configure Logging Levels” button on the App Manager logs tab will be unavailable.
To add the Cloud Foundry starter dependency to your Spring Boot 4 application, update following dependency:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cloudfoundry</artifactId>
</dependency>
Following the rebuild and redeployment of the application, the /cloudfoundryapplication endpoint now correctly includes the necessary CORS headers. This change will prompt Tanzu Apps Manager to display the “Configure Logging Levels” button.
management.cloudfoundry.enabled=true
management.cloudfoundry.skip-ssl-validation=true
https://docs.spring.io/spring-boot/reference/actuator/cloud-foundry.html