java-sparkpost icon indicating copy to clipboard operation
java-sparkpost copied to clipboard

Switch to using SLF4J

Open mbaumbach opened this issue 7 years ago • 2 comments

Instead of directly depending on log4j, using the SLF4J logging facade will allow dependent applications of the Sparkpost library to pick/configure a logging library of their choice or at least not conflict with different versions of log4j.

The use case for me was that I'm using the logback logging library in my application, but the sparkpost library required me to configure both log4j and logback to have the same kind of logging formats, levels, and appenders.

I'll be submitting a PR in a few that contains the changes necessary for this.

mbaumbach avatar Apr 20 '18 16:04 mbaumbach

The PR is #87. I created this separate issue in case this still wants to be addressed, but the PR wants to be abandoned. 😄

mbaumbach avatar Apr 20 '18 16:04 mbaumbach

It would be nice to have this. Any updates?

pedro-carneiro avatar Jul 24 '19 08:07 pedro-carneiro