2018-09-18

Why most posts telling slf4j is better than apache commons log to work with log4j.


Edited: 2019-Aug-08_pm063733

Recently due to some event, lead me to double check again about:


  1. slf4j
  2. log4j
  3. apache commons logging


Which facts so far I found were showing different story...






https://commons.apache.org/proper/commons-logging/

1.0.4 Release - 16 Jun 2004

The 1.0.4 release of commons-logging is a service release containing support for both the 1.2.x and 1.3.x series of Log4J releases.






https://www.slf4j.org/news.html

13 April 2005 - start of work on SLF4J project

Launch of the SLF4J project. Work has begun on the web-site, svn repositories as well as the source code.






https://www.quora.com/What-is-the-best-logging-framework-for-Java-for-new-projects

https://stackoverflow.com/questions/41633278/can-we-use-all-features-of-log4j2-if-we-use-it-along-with-slf4j-api/41635246#41635246

https://www.google.com/search?q=apache+common+logging+vs+slf4j&oq=apache+common+logging+vs+slf4j&aqs=chrome..69i57j0l2.1034j0j7&sourceid=chrome&es_sm=93&ie=UTF-8




java best logging framework

https://stackoverflow.com/questions/41498021/is-it-worth-to-use-slf4j-with-log4j2

https://www.loggly.com/blog/benchmarking-java-logging-frameworks/

https://stackify.com/compare-java-logging-frameworks/

http://www.java-logging.com/comparison/

https://www.baeldung.com/java-logging-intro




















No comments:

Post a Comment