logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpo...@apache.org
Subject svn commit: r1513710 - in /logging/log4j/log4j2/trunk: core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java src/changes/changes.xml
Date Wed, 14 Aug 2013 01:49:25 GMT
Author: rpopma
Date: Wed Aug 14 01:49:25 2013
New Revision: 1513710

URL: http://svn.apache.org/r1513710
Log:
LOG4J2-347 Name the AsyncAppender thread.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
    logging/log4j/log4j2/trunk/src/changes/changes.xml

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java?rev=1513710&r1=1513709&r2=1513710&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/AsyncAppender.java
Wed Aug 14 01:49:25 2013
@@ -99,6 +99,7 @@ public final class AsyncAppender<T exten
         }
         if (appenders.size() > 0) {
             thread = new AsyncThread(appenders, queue);
+            thread.setName("AsyncAppender-" + getName());
         } else if (errorRef == null) {
             throw new ConfigurationException("No appenders are available for AsyncAppender
" + getName());
         }

Modified: logging/log4j/log4j2/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/changes/changes.xml?rev=1513710&r1=1513709&r2=1513710&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/changes/changes.xml (original)
+++ logging/log4j/log4j2/trunk/src/changes/changes.xml Wed Aug 14 01:49:25 2013
@@ -21,6 +21,9 @@
   </properties>
   <body>
     <release version="2.0-beta9" date="soon, very soon" description="Bug fixes and enhancements">
+      <action issue="LOG4J2-347" dev="rpopma" type="fix">
+        Name the AsyncAppender thread.
+      </action>
       <action issue="LOG4J2-342" dev="rgoers" type="fix">
         Ignore xml:base attributes.
       </action>



Mime
View raw message