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

Logging library clashes #3037

Closed
bogdanghit opened this issue Jul 24, 2019 · 3 comments
Closed

Logging library clashes #3037

bogdanghit opened this issue Jul 24, 2019 · 3 comments

Comments

@bogdanghit
Copy link

We are facing an instantiation error when using the scala-logging library. This link provides an workaround which requires compiling the library with this dependency: "com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2". How can we build this library to include this dependency?

@pomadchin
Copy link
Member

Hey @bogdanghit can you describe exactly what issue do you have? I would say that probably you can resolve your issue via shading our dep.

@echeipesh
Copy link
Contributor

Sounds like a related problem to: locationtech/rasterframes#293
May be fixed by #3115

I'd have to code-dive to find out the exact cause again but something in in scala-logging switched from being a trait to being a class and depending what is on the class path you will get InstantiationError if you try to new up a trait or abstract class

@pomadchin
Copy link
Member

We finally replaced scala-logging with log4s.

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

No branches or pull requests

3 participants