Quantcast
Channel: OSCHINA 社区最新新闻
Viewing all articles
Browse latest Browse all 44787

logback 1.1.7 发布,Java 日志框架

$
0
0

logback 1.1.7 发布了。该版本主要改进修复记录如下:

  • Logback is now compact3    profile compatible. This improvement was requested in LOGBACK-1071 by    Axel Fontaine with Max Urech providing the relevant pull-request.

  • Fixed ConcurrentModificationException being thrown    when the reset() method is invoked on the    LoggerContext instance. This issue was reported in LOGBACK-397 by    Szczepan Faber with Ross Sargant providing the relevant test case.

  • TimeBasedRollingPolicy now supports the totalSizeCap property which allows the    user to limit the total size of archived logs.

  • SizeAndTimeBasedRollingPolicy    offers the same functionality as    SizeAndTimeBasedFNATP did previously but with a    simpler configuration structure.

  • Archive removal by RollingFileAppender is now    performed asynchronously.

  • Unnecessary and incompatible %i token in fileNamePattern option with    RollingFileAppender/TimeBasedRollingPolicy is now  detected and the user alerted to the misconfiguration    problem. This fixes LOGBACK-1143.

  • Joran can now handle logger names ending with a $, i.e. the  first character in variable substitution. This issue was raised in    LOGBACK-1149    by by Stevo Slavic.

下载地址:https://github.com/qos-ch/logback/releases/tag/v_1.1.7

Logback是由log4j创始人设计的又一个开源日志 组件。logback当前分成三个模块:logback-core,logback- classic和logback-access。logback-core是其它两个模块的基础模块。logback-classic是log4j的一个 改良版本。此外logback-classic完整实现SLF4J API使你可以很方便地更换成其它日志系统如log4j或JDK14 Logging。logback-access访问模块与Servlet容器集成提供通过Http来访问日志的功能。


Viewing all articles
Browse latest Browse all 44787

Trending Articles