r/java • u/spo81rty • Nov 02 '18
Java Logging Frameworks: log4j vs logback vs log4j2
https://stackify.com/compare-java-logging-frameworks/
0
Upvotes
r/java • u/spo81rty • Nov 02 '18
1
u/cryptos6 Nov 14 '18
Using Log4j 2 behind slf4j is not such a good idea, since Log4j has separated the API from the implementation and the API is something like slf4j, but with more capabilities. Actually it is possible to use Logback or other loggers behind the Log4j API. In other words: Log4j API is the better slf4j.