logback 1.1.6 發布,Java 日志框架

jopen 8年前發布 | 7K 次閱讀

Logback是由log4j創始人設計的又一個開源日志組件。logback當前分成三個模塊:logback-core,logback- classic和logback-access。logback-core是其它兩個模塊的基礎模塊。logback-classic是log4j的一個 改良版本。此外logback-classic完整實現SLF4J API使你可以很方便地更換成其它日志系統如log4j或JDK14 Logging。logback-access訪問模塊與Servlet容器集成提供通過Http來訪問日志的功能。


logback 1.1.6 發布了,該版本改進內容包括:

LogbackValve (in logback-access) now attempts to    load the configuration file as a resource if it cannot be found on    the filesystem (LOGBACK-1069). This    is helpful in scenarios where applications are using an embedded    Tomcat server.

JMXConfigurator.reloadDefaultConfiguration()    method now tolerates programmatic configuration without a    URL. This change was provided by Vedran Pavic in PR 302.

RollingFileAppender will output an error message    if the date time pattern in the %d token within the fileNamePattern is not collision free. This    fixes LOGBACK-1137. In    a similar vein, every instance of FileAppender will    now detect if it shares the same File    option value as given for an appender defined earlier. In    addition, RollingFileAppender instances now check for    colliding FileNamePattern values.

Fixed NullPointerException thrown by    RollingFileAppender if the name of the rollover    target path did not contain a parent. This issue was reported in    LOGBACK-1054    by Paulius Matulionis. Analysis of the problem and the relevant PR    was provided by Ferenc Palkovics.

BasicConfigurator.configure method call executes    significatly faster. Improved documentation for configuration    using JDK 1.6 service-provider facility. These changes are in    response to LOGBACK-1141    requesting faster logback start-up time.

Fixed issue with variable substitution with the value ending in    a colon. This problem was reported in LOGBACK-1140 by    Eric Cook.

下載地址:

https://github.com/qos-ch/logback/releases/tag/v_1.1.6


來自: http://www.oschina.net//news/71124/logback-1-1-6

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!