logback日志框架

    最新的logback 1.1.2 发布了,该版本创建了抽象方法 createOutputStream 作为 SyslogBaseAppender 的扩展    LOGBACK-890    ,此外还包括:

  • Removed deprecated constructors in SocketAppender    and related classes.

  • Fixed incorrect date format in SyslogAppender.    (LOGBACK-936)

  • Fixed NullPointerException when substituting blank variables    (LOGBACK-959)

  • Fixed NullPointerException that occurs when stopping a    SyslogAppender that did not properly initialize, e.g.,    due to a hostname resolution failure.    (LOGBACK-960)

  • Use fair locking in OutputStreamAppender. Patch provided by    Sergey Bykov.    (LOGBACK-268)

  • In case of missing included files, IncludeAction no longer    prints a stack trace but prints a warning instead. (LOGBACK-954)

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来访问日志的功能。

相关链接

相关推荐