差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
java:log4j [2022/04/12 14:21]
tony
java:log4j [2022/05/22 10:16] (目前版本)
tony
行 27: 行 27:
   * [[https://​codertw.com/​%E4%BC%BA%E6%9C%8D%E5%99%A8/​157515/​|MDC to ThreadContext]] 可以參考log4j-1.2-api bridge做法:​[[https://​github.com/​apache/​logging-log4j2/​blob/​f72100df0decc9bda96b4d769822c4e48b2848fc/​log4j-1.2-api/​src/​main/​java/​org/​apache/​log4j/​MDC.java|link]]   * [[https://​codertw.com/​%E4%BC%BA%E6%9C%8D%E5%99%A8/​157515/​|MDC to ThreadContext]] 可以參考log4j-1.2-api bridge做法:​[[https://​github.com/​apache/​logging-log4j2/​blob/​f72100df0decc9bda96b4d769822c4e48b2848fc/​log4j-1.2-api/​src/​main/​java/​org/​apache/​log4j/​MDC.java|link]]
   * [[https://​stackoverflow.com/​questions/​31384939/​log4j2-including-library-name-in-stacktrace|讓exception stacktrace沒有library路徑]]   * [[https://​stackoverflow.com/​questions/​31384939/​log4j2-including-library-name-in-stacktrace|讓exception stacktrace沒有library路徑]]
 +  * [[https://​levelup.gitconnected.com/​logging-best-practices-mdc-ingestion-and-scale-78319cee7b96|Logging Best Practices — MDC, Ingestion and Scale]] *
  
 =====    ===== =====    =====