java logging components (common-logging, slf4j, log4j and logbak)

Found a relatively good blog post:
http://www.blogjava.net/daiyongzhi/archive/2014/04/13/412364.html
Make a record. Supplementary note:
1. slf4j-over-log4j bridge from log4j to slf4j :
For example, kafka's jar package implements logging based on log4j. How to use it in the logback log application requires slf4j-over-log4j. If log4j is used, two log instance errors will occur. Other logging frameworks are similar.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326313948&siteId=291194637