Java日志框架,Apache Log4j 1.2.17 发布
jopen 12年前
<p>Apache Log4j 1.2.17 发布了,Log4j 是一个被广泛使用 Java 的日志框架。</p> <p>新版本改进记录:</p> <p> * log4j 1.2.17 release preparation Fixes 49470. <br /> * Configure from an InputStream Fixes 52913.<br /> * JDBCAppender not closed due to SQL Exception while executing an SQL (thanks to Anurag Agarwal) Fixes 51597.<br /> * Memoryleak - org.apache.log4j.helpers.ThreadLocalMap Fixes 50486. <br /> * DOMConfigurator does not close input stream when configured based on URL. Fixes 48588.<br /> * javadoc.jar was missing NOTICE and LICENSE and contained .svn entries. Fixes 49078.<br /> * Wrong log levels logged with serialized LoggingEvent. Fixes 50238. <br /> * Add org.apache.log4j.rewrite.RewriteAppender and org.apache.log4j.util.UtilLoggingLevel from discontinued receivers companion. Fixes 51766.</p> <p>详情请看<a href="/misc/goto?guid=4958341641014558896" target="_blank">这里</a>。</p> <div id="p_fullcontent" class="detail"> <p><img alt="Java日志框架,Apache Log4j 1.2.17 发布" src="https://simg.open-open.com/show/2c20824f4ddda0ba56407aab63a1fd93.jpg" width="207" height="139" /></p> <p>Log4j是Apache的一个开放源代码项目,通过使用Log4j,我们可以控制日志信息输送的目的地是控制台、文件、GUI组件、甚至是套接口 服务 器、NT的事件记录器、UNIX Syslog守护进程等;我们也可以控制每一条日志的输出格式;通过定义每一条日志信息的级别,我们能够更加细致地控制日志的生成过程。最令人感兴趣的就 是,这些可以通过一个配置文件来灵活地进行配置,而不需要修改应用的代码。</p> </div>