I'm curious about the differences between Log4J 1.2 and 2.0, because I've been trying to run a demo I found online ( video here ) and I've run into issues. I was especially curious about what is the role of SLF4J in all of this, i.e do you need a certain SLF4J for 1.2 vs 2.0 ?
thanks!
AFAIU from the Apache Log4j 2 web site, the significant is as the following: -
log4j 1.x
, logback
and log4j 2
.Then we may use either the SLF4J
as a Logging Facade with log4j 2
instead of logback
or use the log4j 2
natively.
I hope this information may be useful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With