How can I prevent Spring from configuring my manual programmatic logback configuration?
I have configured logback by creating the file src/main/resources/META-INF/services/ch.qos.logback.classic.spi.Configurator and referenced my configurator class in there.
I can see that the configure method is indeed called. But, for some reason, it does not apply my own configuration. My own configuration is applied when I use Ktor, or a hello world Kotlin project. It seems to be replaced by Spring boot.
How can I prevent this behavior?
Comment From: wilkinsona
As described in the reference documentation, setting the org.springframework.boot.logging.LoggingSystem system property to none will "disable Spring Boot’s logging configuration entirely".
If you have any further questions, please follow up on Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements.