Apache Log4j v2.6.1 发布
jopen 8年前
<p style="text-align:center"><img alt="" src="https://simg.open-open.com/show/b6a2256f73ea0d1c2465ba8a8bc3ee0f.jpg" /></p> <p>Log4j是Apache的一个开放源代码项目,通过使用Log4j,我们可以控制日志信息输送的目的地是控制台、文件、GUI组件、甚至是套接口服务 器、NT的事件记录器、UNIX Syslog守护进程等;我们也可以控制每一条日志的输出格式;通过定义每一条日志信息的级别,我们能够更加细致地控制日志的生成过程。最令人感兴趣的就 是,这些可以通过一个配置文件来灵活地进行配置,而不需要修改应用的代码。</p> <h2>更新日志</h2> <ul> <li>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.</li> <li>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.</li> <li>Fix Fixed ArrayIndexOutOfBoundsException that may occur in ReusableParameterizedMessage. Fixes LOG4J2-1409. Thanks to Shahan.</li> <li>Fix Add filter and remove filter were not working properly in AbstractFilterable. Fixes LOG4J2-997. Thanks to Maytee Chinavanichkit.</li> <li>Fix Change RenameAction to use java.nio to better report rename failures. Fixes LOG4J2-1032.</li> <li>Fix Misleading WARN log events from Log4j about message factories and unexpected formatting. Fixes LOG4J2-1407. Thanks to Gary Gregory.</li> <li>Fix The module log4j-liquibase is missing from BOM POM. Fixes LOG4J2-1408. Thanks to Gary Gregory. </li> <li>Fix Logger cache does not account for message factory. Fixes LOG4J2-1180. Thanks to Gary Gregory. </li> <li>Fix Fix regression in properties configuration to support arbitrary component ids. Fixes LOG4J2-1402.</li> <li>Update (GC) CSV layouts should not create a new CSVPrinter for each log event. Requires Apache Commons CSV 1.4. Fixes LOG4J2-1385. </li> <li>Update Update liquibase-core from 3.4.2 to 3.5.1. Fixes LOG4J2-1398. </li> <li>Update Update Apache Commons CSV from 1.3 to 1.4. Fixes LOG4J2-1399. </li> <li>Add Add documentation about plugin builders compared to factories. Fixes LOG4J2-1411.</li> </ul> <h2>下载</h2> <ul> <li> <p><a href="/misc/goto?guid=4958991319015669740">apache-log4j-2.6.1-bin.tar.gz</a></p> </li> <li><a href="/misc/goto?guid=4958991319121278789" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958991319215992855" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul>