Apache Log4j v2.6.1 發布

Log4j是Apache的一個開放源代碼項目,通過使用Log4j,我們可以控制日志信息輸送的目的地是控制臺、文件、GUI組件、甚至是套接口服務 器、NT的事件記錄器、UNIX Syslog守護進程等;我們也可以控制每一條日志的輸出格式;通過定義每一條日志信息的級別,我們能夠更加細致地控制日志的生成過程。最令人感興趣的就 是,這些可以通過一個配置文件來靈活地進行配置,而不需要修改應用的代碼。
更新日志
- Fix OnStartupTriggeringPolicy was forcing a rollover of empty files at startup and would append a second footer that was added by the prior shutdown. Fixes LOG4J2-1405.
- Fix Fixed bug in ReusableParameterizedMessage where Throwable was never updated so first error was logged over and over again and subsequent errors were not logged. Fixes LOG4J2-1406. Thanks to Trask Stalnaker.
- Fix Fixed ArrayIndexOutOfBoundsException that may occur in ReusableParameterizedMessage. Fixes LOG4J2-1409. Thanks to Shahan.
- Fix Add filter and remove filter were not working properly in AbstractFilterable. Fixes LOG4J2-997. Thanks to Maytee Chinavanichkit.
- Fix Change RenameAction to use java.nio to better report rename failures. Fixes LOG4J2-1032.
- Fix Misleading WARN log events from Log4j about message factories and unexpected formatting. Fixes LOG4J2-1407. Thanks to Gary Gregory.
- Fix The module log4j-liquibase is missing from BOM POM. Fixes LOG4J2-1408. Thanks to Gary Gregory.
- Fix Logger cache does not account for message factory. Fixes LOG4J2-1180. Thanks to Gary Gregory.
- Fix Fix regression in properties configuration to support arbitrary component ids. Fixes LOG4J2-1402.
- Update (GC) CSV layouts should not create a new CSVPrinter for each log event. Requires Apache Commons CSV 1.4. Fixes LOG4J2-1385.
- Update Update liquibase-core from 3.4.2 to 3.5.1. Fixes LOG4J2-1398.
- Update Update Apache Commons CSV from 1.3 to 1.4. Fixes LOG4J2-1399.
- Add Add documentation about plugin builders compared to factories. Fixes LOG4J2-1411.
下載
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!