We are using a custom class loader for loading our application classes, but delegate loading SLF4j to standard classloaders.
Because of this SLF4J cannot load our custom ServiceProvider.
A simple fix for such situations is to perform a fallback search for service providers using context class loader.
The solution provided here would fix the issue.
I could provide an implementation if necessary.