Closed ivansenic closed 2 years ago
I see, thank you for contacting us. The library itself is not using slf4j explicitly, so we could remove the lightweight logger from the dependency list. Then again, with SpringBoot, if we would use other logging framework in future for our library, it could generate multiple binding issue too.
In case you are using SpringBoot, wouldn't there be an option to exclude the dependency on your project side, instead of doing that on the library? This would eliminate the error and it would not break the usage. We could make a change to the library, but we want to make sure that we are adapting it to general java audience, rather than focusing on specific frameworks.
Hi @ivansenic
thank you for reporting this, we decided to keep things simple, and remove the dependency. Change is visible in 1.8.3 version, released today.
Your latest release introduces the
org.slf4j:slf4j-simple
dependency. I guess this is breaking the usage for majority of the users, due to the slf4j multiple-bindings. For example, all SpringBoot users would not be able to start the app:You should only depend on the slf4j api and do not introduce the implementation.
Workaround: