Closed jdbcplusnet closed 1 year ago
On my side, I see a 404 error not a 500 one, but indeed it is broken. Since we are focusing on Spring Boot 3 native support these days, I have testing with Spring Boot 3 M5 and saw the same issue, so I have created https://github.com/spring-projects/spring-boot/issues/32483 that you can follow to track the resolution of this issue on Spring Boot 3 side (we won't fix it on Spring native side).
I was trying to migrate Spring-Boot microservice to native, but I was some error with Spring-Boot-Actuator for get / change loggers in realtime.
The /actuator/loggers endpoint returns HTTP 500 error and I have created my own LoggerEndpoint for trying to solve this issue, but it seems that the org.springframework.boot.logging.logback.LogbackLoggingSystem does not get loggers configuration properly so I got empty loggers:
This is because the method getLoggerConfigurations() from LogbackLoggingSystem is not working propertly:
Versions used as described in documentacion: https://docs.spring.io/spring-native/docs/current/reference/htmlsingle
Thanks in advance.