内容简介:Apache Log4j 2.14.1 已经发布。Log4j 是一个用于记录应用程序行为的框架。Log4j 2 是对 Log4j 的升级,提供了重大改进,超越其前身 Log4j 1.x,并提供许多其它现代功能 ,例如对标记的支持、使用查找的属性替换、...
Apache Log4j 2.14.1 已经发布。Log4j 是一个用于记录应用程序行为的框架。Log4j 2 是对 Log4j 的升级,提供了重大改进,超越其前身 Log4j 1.x,并提供许多其它现代功能 ,例如对标记的支持、使用查找的属性替换、lambda 表达式与日志记录时无垃圾等。该版本包含了一些错误修复和改进。
主要更新内容
- 将 "map" 解析器的后端与 "mdc" 解析器统一起来,丰富 "map" 解析器的功能
- 将文档中的 JsonTemplateLayout 解析器配置表替换为 section
- 在 JsonTemplateLayou t中支持堆栈跟踪截断
- 添加没有参数的日志方法
- 记录 LogBuilder 默认方法不执行任何操作
- 在 ParameterFormatter 中用 IdentityHashMap 替换 HashSet 来检测循环
- 重构 AsyncAppender 和 AppenderControl 以处理 Throwables
- 在 JsonTemplateLayout 中添加 eventTemplateRootObjectKey 参数
- Log4j 将无法在 Java 8 中使用 log4j-spring-boot 进行初始化
- 修复从配置中读取 JsonTemplateLayout 事件的附加字段的问题
详细内容请查看更新公告。
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
PHP and MySQL for Dynamic Web Sites : Visual QuickPro Guide
Larry Ullman / Peachpit Press / 2005 / USD 39.99
It hasn't taken Web developers long to discover that when it comes to creating dynamic, database-driven Web sites, MySQL and PHP provide a winning open source combination. Add this book to the mix, an......一起来看看 《PHP and MySQL for Dynamic Web Sites : Visual QuickPro Guide》 这本书的介绍吧!