Closed krestivo-kdinfotech closed 5 years ago
Thanks for the report. I'm still trying to figure out what's going on here, but a few points spring to mind.
slf4j-log4j12
and log4j-over-slf4j
at the same time (reference)log4j --> slf4j --> timbre
you would normally just use log4j-over-slf4j
and slf4j-timbre
(not slf4j-log4j12
, which goes the wrong way)log4j-over-slf4j
bridge only provides a stub of the org.apache.log4j.PatternLayout
class (this seems to be a known inadequacy)log4j
dependency when you swap in the log4j-over-slf4j
bridge because it provides the same classesThanks, it seems the root cause is the java file making direct calls to log4j as in the known inadequacy you helpfully provided in your link. Nothing I can do about that; can't use timbre for this project. Closing. Thanks again.
With this:
I get
OK... if I add this, though:
Then the whole compile fails, with:
From a .java source file vendored dependency that does its own log4j logging.
In both cases, lein tree shows that this does include
as a transitive dependency.
I could edit the java dep but will probably just limp along with the apache error instead.