logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1516834 - in /logging/log4j/log4j2/trunk: core/src/main/java/org/apache/logging/log4j/core/net/JMSTopicManager.java src/changes/changes.xml
Date Fri, 23 Aug 2013 13:09:51 GMT
Author: ggregory
Date: Fri Aug 23 13:09:51 2013
New Revision: 1516834

URL: http://svn.apache.org/r1516834
Log:
[LOG4J2-367] JMS appenders send two messages for one append.

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

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSTopicManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSTopicManager.java?rev=1516834&r1=1516833&r2=1516834&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSTopicManager.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/net/JMSTopicManager.java
Fri Aug 23 13:09:51 2013
@@ -104,7 +104,6 @@ public class JMSTopicManager extends Abs
         if (info == null) {
             info = connect(context, factoryBindingName, topicBindingName, userName, password,
false);
         }
-        super.send(object, info.session, info.publisher);
         try {
             super.send(object, info.session, info.publisher);
         } catch (final Exception ex) {

Modified: logging/log4j/log4j2/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/changes/changes.xml?rev=1516834&r1=1516833&r2=1516834&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/changes/changes.xml (original)
+++ logging/log4j/log4j2/trunk/src/changes/changes.xml Fri Aug 23 13:09:51 2013
@@ -21,6 +21,9 @@
   </properties>
   <body>
     <release version="2.0-beta9" date="soon, very soon" description="Bug fixes and enhancements">
+      <action issue="LOG4J2-367" dev="ggregory" type="fix" due-to="David Parry">
+        JMS appenders send two messages for one append.
+      </action>
       <action issue="LOG4J2-319" dev="ggregory" type="fix">
         Double stack trace logging when using %throwable in a %style.
       </action>



Mime
View raw message