Linuxeden 开源社区 --
LOG4J 2.9.0 发布了。Log4j 是 Apache 的一个开放源代码项目,通过使用 Log4j,我们可以控制日志信息输送的目的地是控制台、文件、GUI 组件、甚至是套接口服务 器、NT 的事件记录器、UNIX Syslog 守护进程等; 我们也可以控制每一条日志的输出格式; 通过定义每一条日志信息的级别,我们能够更加细致地控制日志的生成过程。最令人感兴趣的就 是,这些可以通过一个配置文件来灵活地进行配置,而不需要修改应用的代码。
更新内容:
- LOG4J2-2008: Support printing multiple StructuredData elements in RFC5424Layout.
- LOG4J2-1986: Public API for parsing the output from JsonLayout/XmlLayout/YamlLayout into a LogEvent.
- LOG4J2-1981: JsonLayout, XmlLayout and YamlLayout support 0-byte termination of log events.
- LOG4J2-1864: Support capped collections for MongoDb appender. Thanks to Matthias Kappeller.
- LOG4J2-1813: Log4j2 will now print all internal logging to the console if system property
log4j2.debug
is defined with any value (or no value).
详细内容请参见 发布说明 。
下载地址:
转自 http://ift.tt/2evbf55
The post LOG4J 2.9.0 发布,Java 日志组件 appeared first on Linuxeden开源社区.
http://ift.tt/2goSsoL
没有评论:
发表评论