We are using the PharmCat 3.2.0 library in a Spring Boot 4 project. The project is configured to use Log4j2 as the logging framework. At runtime, including PharmCat introduces multiple SLF4J providers, because the PharmCat jar contains Logback classes and configuration.This is caused by PharmCat including Logback jars and classes inside the artifact, which conflicts with external logging setup that we have. Attempts to exclude Logback at the dependency manager level fail because PharmCat directly references Logback internally, so removing it breaks the build.
Questions:
- Is it possible to publish PharmCat artifact with modular logging setup?
We are using the PharmCat 3.2.0 library in a Spring Boot 4 project. The project is configured to use Log4j2 as the logging framework. At runtime, including PharmCat introduces multiple SLF4J providers, because the PharmCat jar contains Logback classes and configuration.This is caused by PharmCat including Logback jars and classes inside the artifact, which conflicts with external logging setup that we have. Attempts to exclude Logback at the dependency manager level fail because PharmCat directly references Logback internally, so removing it breaks the build.
Questions: