<div><div dir="auto">Hi Damien,</div><div dir="auto"><br></div><div dir="auto">You can’t use the log4j-over-slf4j adapter (it only works with Log4j 1.2). </div><div dir="auto"><br></div><div dir="auto">Log4j2 includes an slf4j adapter: the <span style="color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;background-color:rgb(249,249,249)">log4j-slf4j-impl module. See </span><a href="https://logging.apache.org/log4j/2.x/log4j-to-slf4j/index.html">https://logging.apache.org/log4j/2.x/log4j-to-slf4j/index.html</a></div><div dir="auto"><br></div><div dir="auto">Remko</div><div dir="auto"><br></div><div dir="auto"><span style="font-family:UICTFontTextStyleBody;font-size:17px">(Shameless plug) Every java main() method deserves </span><a href="http://picocli.info/" dir="ltr" style="font-family:UICTFontTextStyleBody;font-size:17px">http://picocli.info</a><br></div><div dir="auto"><br></div><div dir="auto"><br></div><br><div class="gmail_quote"><div>On Wed, Jan 10, 2018 at 10:13 Damien <<a href="mailto:maitredede@gmail.com">maitredede@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi :),<div><br></div><div>I am using a lib that uses log4j 2 (apache.logging.log4j.*).</div><div><br></div><div>My build script (graddle) has easily replaced log4j 1 libs with log4j-over-slf4j, but does not handle log4j 2.</div><div><br></div><div>Is there a version for log4j 2 ? Or is someone working on it ?</div><div><br></div><div>Thanks :)</div><div><br></div><div>Damien</div></div>
_______________________________________________<br>
slf4j-dev mailing list<br>
<a href="mailto:slf4j-dev@qos.ch" target="_blank">slf4j-dev@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/slf4j-dev" rel="noreferrer" target="_blank">http://mailman.qos.ch/mailman/listinfo/slf4j-dev</a></blockquote></div></div>