Just an FYI - in Spring Boot 3 if you specify an override file that is not present the application will fail to start. This behavior is different then what log4j-spring-boot does. It seems that if you include the log4j-spring-boot jar then the error is avoided.
See https://github.com/spring-projects/spring-boot/issues/44399. I plan to create a PR for Spring Boot.