Skip to content
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

Providing a slf4j binding via provided-libs does not work #272

Open
cboehme opened this issue Jul 25, 2017 · 0 comments
Open

Providing a slf4j binding via provided-libs does not work #272

cboehme opened this issue Jul 25, 2017 · 0 comments
Labels

Comments

@cboehme
Copy link
Member

cboehme commented Jul 25, 2017

From @cboehme on March 3, 2014 21:43

slf4j uses the same class loader which was used to load slf4j core to load the slf4j binding for a specific logging framework. In metafacture-runner these two packages are, however, loaded by different class loaders: the slf4j-api is loaded by the system default loader from the class path and the slf4j binding can be loaded only via DirectoryClassLoader from the provided-libs directory. As a result slf4j fails to load a binding.

At the moment, the only feasible solution for this problem seems to be to put the slf4j binding also on the class path at the expense of preventing the user from changing the logging framework.

Copied from original issue: culturegraph/metafacture-runner#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant