设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Log4j 2.0正式版发布

2014-7-18 17:59| 发布者: joejoe0332| 查看: 2581| 评论: 0|原作者: oschina|来自: oschina

摘要:   Log4j 2.0 正式版终于发布了,改进内容:Newfeatures:oLOG4J2-519:Addedsupportforgeneratingcustomloggerwrappersthatreplacetheexistingloglevelsandextendedloggerwrappersthataddcustomloglevelstotheexisti ...

  Log4j 2.0 正式版终于发布了,改进内容:


New features:o LOG4J2-519:  Added support for generating custom logger wrappers that replace the existinglog levels        and extended logger wrappers that add custom log levels to the existing ones. o LOG4J2-696:  RegexFilter does not match multiline log messages. Fixed Bugs:o LOG4J2-705:  Fixed issue where Async Logger does not log thread context stack data.        API change: added method getImmutableStackOrNull() to ThreadContext.ContextStack interface.o LOG4J2-631:  Update docs to clarify how to use formatter logger and standard logger together.o LOG4J2-441:  LoggerConfigs with no Level now inherit the Level from their parent. o LOG4J2-703:  Android: Could not find class 'javax.naming.InitialContext', referenced frommethod org.apache.logging.log4j.core.lookup.JndiLookup.lookup. Thanks to Nelson Melina. o LOG4J2-699:  PatternLayout manual page missing documentation on header/footer. o LOG4J2-625:  Fixed Serialization error with SocketAppender and Async Loggers.        (Fixed in RC2, but wasn't included in release notes.) o LOG4J2-538:  JMX GUI: fixed occasional ArrayIndexOutOfBoundsException after pressing "reconfigurewith XML below".        (Fixed in RC2, but wasn't included in release notes.) o LOG4J2-666:  AsyncLoggerContextSelector should ensure that different AsyncLoggerContextobjects created by web app classloaders have unique names. o LOG4J2-683:  Fix annotation processor warnings on JDK 1.7+. Thanks to Jurriaan Mous. o LOG4J2-694:  Fix strange compilation error that popped up in a test class. o LOG4J2-692:  Update documentation to specify only Maven 3 is supported. o LOG4J2-690:  Log4j Web test dependencies should be in scope "test" in the pom. Thanks toPhilip Helger. o LOG4J2-682:  Special characters (tab and so on) in PatternLayout do not work. Thanks toScott Harrington. o LOG4J2-686:  Core's OptionConverter support for \b is broken (affects PatternLayout). o LOG4J2-687:  Rename org.apache.logging.log4j.core.util.Closer.closeSilent() to closeSilently().o LOG4J2-688:  Make org.apache.logging.log4j.core.layout.PatternLayout immutable. o LOG4J2-707:  Some exceptions are not logged when configuration problems are detected. Changes:o LOG4J2-685:  Make org.apache.logging.log4j.core.layout.AbstractLayout immutable. o LOG4J2-689:  Update Jackson to 2.4.1. o LOG4J2-709:  Update Apache Commons Logging to 1.2 from 1.1.3.


  Log4j 2.0 网页:http://logging.apache.org/log4j/2.x/


  新的 Logo 看着不错:



酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部