mute an unwanted userlib using the eviction mechanism
The marketplace module SAML20 ships with the library slf4j-simple-1.7.5.jar, however, this library interferes with another Marketplace module: LibraryLogging which ships with: log4j-slf4j-impl-2.17.1.jar. slf4j-simple-1.7.5.jar takes precedence and redirects everything to System.err. Deleting the jar from userlib fixes this, but after upgrading SAML20 it comes back. I was thinking of (mis)using the eviction mechanism of Mendix that prints the following to System.out during startup: [rtlauncher:container$] INFO Evictions for component 'project-userlib': Evicted C:\Users\basin\Documents\Mendix\Book Planning-main\deployment\model\lib\userlib\bcprov-jdk15on-1.67.jar by C:\Users\basin\Documents\Mendix\Book Planning-main\deployment\model\lib\userlib\bcprov-jdk15on-164.jar. Is it possible to create a fake slf4j-simple jar that would evict the real slf4j-simple jar?
Will it help to mute a jar using the App settings: