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
slf4j configuration is broken due to shade relocation #16
Comments
Submitted a PR #17 |
Thanks for your reporting and contribution. I need to discuss with the team whether we should go this way or not. |
If a library is only used internally for your implementation, it is ok to relocate it to avoid version conflicts. For the case of logging, usually people would like to have an unified configuration cross entire application (this is one of the reason to use SLF4J), so it is better to give application developer more control. SLF4J has been around long enough, so I would not expect to have big issue with version conflicts. |
It seems slf4j is broken due to shade relocation process.
Trying to use logback with slf4j and always get following error:
Looking into the cause, it is due to shade relocation process changed this line:
net.snowflake.client.jdbc.internal.org.slf4j.LoggerFactory
This should be "org/slf4j/impl/StaticLoggerBinder.class" to match the slf4j's init process.
The text was updated successfully, but these errors were encountered: