-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class path contains multiple SLF4J bindings. #23
Comments
To make it easy to use fluent-http, I made Didn't find a better solution. |
You could implement your own slf4j facade and use it unless another facade On Fri, May 2, 2014 at 5:09 PM, David Gageot [email protected]:
Florent Ramière |
Our code could use a facade. But we embed some librairies that need slf4j to be present. |
I think this rings back to our core-stuff, app-stuff module cutting. Maybe it's too soon, but we need to keep that in mind whenever we will cut down the app in modules (or not ;) |
While migrating from fluent-http 1.20 to 1.49 I stumbled upon;
When looking at http://www.slf4j.org/codes.html#multiple_bindings they state that
Embedded components such as libraries or frameworks should not declare a dependency on any SLF4J binding but only depend on slf4j-api
This should apply to fluent-http since we embed fluent-http in apps, that's exactly the right usage.
This shouldn't apply to fluent-http since we want a tool usable whitout fiddling with dreaded logging framework.
discuss...
The text was updated successfully, but these errors were encountered: