[slf4j-user] slf4j and log4j loop
Joachim Durchholz
jo at durchholz.org
Fri Mar 14 21:06:14 CET 2014
Am 14.03.2014 20:22, schrieb Adrian Mocanu:
> Hi
> I'm having a problem with using both slf4j and log4j. I have use sbt
> to pull 2 repositories: one package uses slf4j-log4j12.jar and the other
> package uses use log4j-over-slf4j.jar which creates the circular loop.
The loop will always happen if slf4j packages are indiscriminately mixed.
I don't know how to do this for sbt (only gradle and maven user here),
but basically you have to tell your build tool to ignore either
slf4j-log4j12.jar or log4j-over-slf4j.jar, depending on which
configuration you want.
More information about the slf4j-user
mailing list