logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1601541 - in /logging/log4j/log4j2/trunk: log4j-flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java src/changes/changes.xml
Date Tue, 10 Jun 2014 01:40:52 GMT
Author: rgoers
Date: Tue Jun 10 01:40:52 2014
New Revision: 1601541

URL: http://svn.apache.org/r1601541
Log:
LOG4J2-563 - FlumeAvroManager now always uses a client type of default_failover.

Modified:
    logging/log4j/log4j2/trunk/log4j-flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java
    logging/log4j/log4j2/trunk/src/changes/changes.xml

Modified: logging/log4j/log4j2/trunk/log4j-flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java?rev=1601541&r1=1601540&r2=1601541&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java
(original)
+++ logging/log4j/log4j2/trunk/log4j-flume-ng/src/main/java/org/apache/logging/log4j/flume/appender/FlumeAvroManager.java
Tue Jun 10 01:40:52 2014
@@ -195,7 +195,7 @@ public class FlumeAvroManager extends Ab
         try {
             final Properties props = new Properties();
 
-            props.put("client.type", agents.length > 1 ? "default_failover" : "default");
+            props.put("client.type", "default_failover");
 
             int count = 1;
             final StringBuilder sb = new StringBuilder();

Modified: logging/log4j/log4j2/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/changes/changes.xml?rev=1601541&r1=1601540&r2=1601541&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/changes/changes.xml (original)
+++ logging/log4j/log4j2/trunk/src/changes/changes.xml Tue Jun 10 01:40:52 2014
@@ -22,6 +22,9 @@
   </properties>
   <body>
     <release version="2.0-rc2" date="2014-MM-DD" description="Bug fixes and enhancements">
+      <action issue="LOG4J2-563" dev="rgoers" type="fix" due-to="Michael Friedmann">
+        FlumeAvroManager now always uses a client type of default_failover.
+      </action>
       <action issue="LOG4J2-554" dev="rgoers" type="update">
         Allow configuration files to be located as Servlet Context resources.
       </action>



Mime
View raw message