Java 日志組件,SLF4J 1.7.13 發布

jopen 9年前發布 | 6K 次閱讀 SLF4j

SLF4J 1.7.13 發布,Java 日志組件

SLF4J是為各種loging APIs提供一個簡單統一的接口,從而使得最終用戶能夠在部署的時候配置自己希望的loging APIs實現。 Logging API實現既可以選擇直接實現SLF4J接的loging APIs如: NLOG4J、SimpleLogger。也可以通過SLF4J提供的API實現來開發相應的適配器如Log4jLoggerAdapter、 JDK14LoggerAdapter。

SLF4J 1.7.13 發布,此版本主要改進內容如下:

  • Fixed LoggerFactory initialisation problem in   presence of SecurityManager denying "createSecurityManager" runtime   permission. See SLF4J-324 for   further details.

    </li>

  • Fixed issue with BasicMDCAdapter leaking MDC   information to non-child threads. This problem was reported by   Lukasz Cwik in SLF4J-316 who also   provided the relavant pull request.

    </li>

  • More robust handling of ill-formatted input strings by   SLF4JBridgeHandler. This issue was reported in SLF4J-337 by Rodolfo   Udo Labsch.

    </li>

  • House cleaning of our project's Maven pom.xml files, an   initiative undertaken by Jeremy Landis.

    </li>

  • Added getAdditivity() method method in   Category class in the log4j-over-slf4j module. This   addition was requested by Milo Felipe SLF4J-309 with   Dimitrios Liapis providing the relavant pull request.

    </li>

  • Added the assertLog(boolean, String) method in the   Category class, in module log4j-over-slf4j.

    </li>

  • In the log4j-over-slf4j module, removed misplaced Layout.java   file. This issue was reported in SLF4J-218 by Joshua   M Steward with Alfredo Ramos providing the relavant pull request.

    </li> </ul>

    下載: