I was using log4j version 2.23.1 which comes with slf4j-api version 2.0.9. Below are the dependencies: And I was using maven-assembly-plugin to build a single jar with all dependencies <plugin> ...
In the scenario described, I attempted to dynamically specify the log path at runtime. Since the project ultimately needs to be packaged using jlink/jpackage, I added a module-info.class for SLF4J.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results