Apache Log4j-2.0 发布第 9 个 Beta 版本,新特性包括:
o LOG4J2-399: Allow the default file rollover strategy to define the compression level.
o LOG4J2-338: Add TLSAppender. Also added missing license headers to several files. Thanks to Tibor Benke.
o LOG4J2-253: Added FAQ page to the site.
o LOG4J2-362: Add a diagram to the site (FAQ page) that explains when to use which jar.
o LOG4J2-374: Add more options to PatternLayout to display more detailed information about a Throwable. Thanks to Tibor Benke.
o LOG4J2-383: [Pattern Layout] Customize level names by length.
o LOG4J2-384: [Pattern Layout] Customize level names to lower-case.
o LOG4J2-364: Add WebLookup to retrieve information from the ServletContext. Thanks to David Nault.
o LOG4J2-360: Allow Plugins to have aliases.
o LOG4J2-356: Create a JSON Layout.
o LOG4J2-341: Enable XInclude for XML configurations.
o LOG4J2-313: Add JNDILookup plugin. Thanks to Woonsan Ko.
o LOG4J2-305: Ease porting from 1.x Logger.getRootLogger(): add LogManager.getRootLogger().
同时也修复了大量的 bug,详细列表请看这里。
Log4j 的详细介绍:请点这里
Log4j 的下载地址:请点这里
相关阅读:
Log4j入门使用教程 http://www.linuxidc.com/Linux/2013-06/85223.htm
Hibernate配置Log4j显示SQL参数 http://www.linuxidc.com/Linux/2013-03/81870.htm
Log4j学习笔记(1)_Log4j 基础&配置项解析 http://www.linuxidc.com/Linux/2013-03/80586.htm
Log4j学习笔记(2)_Log4j配置示例&Spring集成Log4j http://www.linuxidc.com/Linux/2013-03/80587.htm
